IdentityServer: Preview of the OpenID Connect Basic Client Profile
July 16, 2013
Dominick is a machine!
The mid term plan is that OpenID Connect will replace the plain OAuth2 endpoints in IdentityServer. As a first step, I just checked in a preview of the OIDC basic client profile support (see this doc).
The preview consists of two parts:
- OIDC authorize/token/userinfo endpoints for IdSrv
- ASP.NET client module
To enable the above endpoints, simply uncomment the OIDC routes in ProtocolConfig.cs.
To register an OIDC client, create an OAuth2 code flow client for now:
And adjust the settings in the sample client project web.config accordingly:
The OIDC client module will then automatically redirect to the OpenID provider and coordinate the front/back channel work.
Have fun!
2 Comments
leave one →
Hi
I have been trying to implement openID connect using your library available on gitHub. I would like to know what would happen if I have instances of client running on two machines, on one i authenticate client and then use the access token may be (hard-code it) to call services on other machine, would it give error because it just checks for client id and secret as well as redirect URL which would remain same for both instances as client is same.
Hi Videet — Questions related to github projects should be done in the github issue tracker. Thanks,