简体   繁体   中英

Implementing my own idP/STS to work with asp.net claims based authetication

I have just watched the following video on Claims based authentication,

I would like to implement this in a few of our companies applications, However all the examples talk about Using Windows Azure Active Directory as an Identity Provider.

I would like to implement my own idP which the applications all query for a token.

obviously I can go and implement my own version, but I would like to try and conform to the asp.net default packages as much as I can, such as using the claims based client in all my applications.

Is there possibly a tutorial anyone knows of or simply a interface which I have to implement which will alow for my clients to successfully get a token from my idP.

Alternatively,

I dont know if there is maybe an open source project that implements a full idP / STS which I can host mys elf, and configure all the params I need to store about a user?

Currently I have implemented the Microsoft identity model and extended the Identity User and Identity Role to include all the info I need, Which has a web UI to manage all the users, but I now was to add the functionality to allow for other applications to authenticate them selves through this AuthenticationApplication

I would suggest you try Thinktecture IdentityServer v2. It is open source, supports many protocols such as Oauth2, WS-Federation, WS-Trust and it is easy to configure.

For more information about IdentityServer look at its github repository page . You can find guides on how to get started here

There is also v3 in active development. It has been rewritten from scratch using Katana and Web Api and implements OpenID connect, but it is not ready for production yet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM