Skip to content

IdentityServer: Preview of the OpenID Connect Basic Client Profile

July 16, 2013

Dominick is a machine!

leastprivilege.com

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:

image

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!

View original post

2 Comments leave one →
  1. June 17, 2014 8:40 am

    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.

    • June 17, 2014 10:01 am

      Hi Videet — Questions related to github projects should be done in the github issue tracker. Thanks,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: