Please enable JavaScript to view this site.

Navigation: Authentication Modes

IdentityServer4 Mode

Scroll Prev Top Next More

 

 

 

 
Users with IdentityServer4 identity server will be able to connect it to LinkarWS to delegate Authentication to the identity server. Authorization will be performed in Linkar using the token returned by IdentityServer4.

 

In this case the Scopes and Claims control is defined in the IdentityServer4 server itself.

 
The value of the "Name" property of the "ApiResource" configured in the IdentityServer4 identity server must be specified in the LinkarWS configuration (MyApi in the example).

 

 

 

The url of the IdentityServer4 identity server must also be specified in the "Authority" property.

 

Do not forget that inside the IdentityServer4 identity server, in the "Client" declaration, the return url must be specified, to which it will redirect once the access token has been obtained. It could be something like this:

 

http://localhost:12000/swagger/index.html?api_resource=apidemoID4