Base solution for your next web application
Open Closed

Authentication for Identityserver4 #5574


User avatar
0
omkarchoudhari created

I am trying to implement IdentityServer4 in ASPNETZERO TEMPLATE 5.6.2. but while trying to implement we realize that there is no authentication method for identity server which is needed to authenticate external application.

What we are trying to do is, we have one(ASPNETZERO) server web app which will authenticate and authorize other apps. We are taking reference from identity server site also, but its not working.

Is there any Identityserver4 authentication provided through in WEBHOST (angular) project?

If yes, please tell us necessary steps for how to implement Identityserver4 in HOST project.

We are trying to use PUBLIC WEBSITE PROJECT but its not working. Any pointers in this direction would be helpful.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @omkarchoudhari,

    You first need to enable Identity Server 4 on Host project. Enable IdentityServer in appsettings.json of the Host project. Then, you can check *.ConsoleApiClient to see how a remote client authenticates using Identity Server on the Host project.