Reputation: 3242
I'm looking at creating an Angular4 WebApp that will have a login/sign up page for users. I need it to be able to have:
So far my understanding is that I will need the following:
If I utilise something like IdentityServer4 as my auth server. I wouldn't be able to have my Login/Signup form embedded in the app? I would have to always redirect to the AuthServer to perform the login and then redirect back to my Client along with the access token. Which is a user experience we don't really want but I'm not aware of an alternative?
My questions are:
Upvotes: 0
Views: 752
Reputation: 63830
Using IdentityServer for the front-end of login forms is completely optional. I suggest reading up on the various Flows that are supported. The simplest (often called "legacy" and insecure) option to understand is the Resource Owner Password flow, which is one of the flows that allows a pure JavaScript solution for getting and using tokens, using a form of your own creation.
To answer your questions directly:
Upvotes: 1