locked
Startup project with asp.net core web api for login/register/changepassword/forgot password RRS feed

  • Question

  • User-637833180 posted

    Hi,

    Is there any ASP.NET Core web api (not razor views) startup template that includes basic login/register/changepassword/forgot password. I don't want to use aspnetboilerplate as I need something very neat and simple.

    Thanks in advance

    Wednesday, September 4, 2019 7:45 PM

All replies

  • User-474980206 posted

    what do you mean by neat and simple? if it is a webapi project, then you should probably be using Jwt tokens, not cookie based pages.

     

    Wednesday, September 4, 2019 10:53 PM
  • User-637833180 posted
    I meant code for SPA (angular) with api controllers not razor or mvc
    Thursday, September 5, 2019 3:48 AM
  • User711641945 posted

    Hi pantonis,

    Is there any ASP.NET Core web api (not razor views) startup template that includes basic login/register/changepassword/forgot password.

    As far as I known,there seems no such template.I find a similar project which is not the official tutorial in Github you could refer to:

    https://github.com/emonney/QuickApp

    Best Regards,

    Rena

    Thursday, September 5, 2019 7:54 AM
  • User-474980206 posted

    If you are calling from an SPA, then you definitely should be using bearer tokens, instead of login pages. I don’t believe there is a template. Google for asp.net core JWT authentication examples.i
    Thursday, September 5, 2019 2:16 PM