IdentityModel / AuthorizationServer

Sample implementation of an OAuth2 Authorization Server
Other
281 stars 136 forks source link

Multiple Claims from ADFS with Thinktecture Authorization server #230

Closed asunilkutty closed 10 years ago

asunilkutty commented 10 years ago

I have setup ADFS to work with AuthorizationServer as per the article below. http://leastprivilege.com/2013/09/19/adding-oauth2-to-adfs-and-thus-bridging-the-gap-between-modern-applications-and-enterprise-back-ends/.

I have also setup up a web application application that uses the implicit oauth workflow. This setup provides JWT tokens for the web application to use.

The JWT token returned returns only the AD Name attribute back in the token. I wanted to find out if there was a way to add additional claims from the AD to this token? Pass through Claim rule template seems to be returning only one claim from the AD.

leastprivilege commented 10 years ago

see here http://leastprivilege.com/2014/02/11/authorizationserver-v1-2/