Reputation: 127
we are looking for brand new implementation for Identityserver4, I wnet thru the documentation and install the Project on VS2017 and DB in sqlserver.
Database is created with the default migration script provided for bot ConfigurationData as well as Operational DAta. I am very much confused , where the user will be how the clients will be add etc? Also in the startup the default ASPNEtIdentity is add, but in database there is no ApplicationUser table, so where the userdata will be? My requirement is simple - User will be aple to login to application by his credentials(or may be by 3rd party application) and will use the application or API will directly use Identity server to with clientcredential scope,
Here please do let me know:
Upvotes: 0
Views: 4293
Reputation: 5264
First off, IdentityServer4 on it's own does not handle users or authentication thereof - you either need to use ASP.Net Identity and the integration library that hooks it up to IdentityServer4 or build all of that stuff yourself.
So to sum up:
[ScopeAuthorize("my.api")] public MyResult ApiAction() { ... }
). This filter will check that the specified scope is defined in the set of claims in the ClaimsPrincipal).Upvotes: 2