Implementing OAuth 2.0 and OpenId Connect provider using IdentityServer3 with existing login server and membership provider

做~自己de王妃 提交于 2019-12-11 23:52:22

问题


I know that IdentityServer3 provides the whole stack of implementing OAuth 2.0, OpenId Conect etc. I don't know if I should use IdentityServer3. Because I have my own login server which authenticates the user using a membership provider which is already available. Can I integrate my already available login mechanism with IdentityServer3 and implement OAuth 2.0?

Any suggestion will be highly appreciated.


回答1:


Moving the membership part to identityserver is easy. If you want to keep the whole "login experience" just the same but use idsrv for protocol support - this is more work.

You can move your login app into idsrv and use the partial login concept. This requires your existing login page to interact with the idsrv OWIN extension methods.

Another option is to encapsulate your login app as Katana authentication middleware and plug it into idsrv as an external provider.



来源:https://stackoverflow.com/questions/33002318/implementing-oauth-2-0-and-openid-connect-provider-using-identityserver3-with-ex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!