Oauth 2 token for Active Directory accounts

前端 未结 2 947
借酒劲吻你
借酒劲吻你 2021-02-01 06:05

I have used Owin in the past to create a token endpoint in my Mvc Web Api projects to provide oauth 2.0 tokens with \"Resource Owner Password Credentials\" grant type w

2条回答
  •  走了就别回头了
    2021-02-01 06:33

    You could use ADFS 3.0 on top of AD which would provide you with OAuth 2.0 Authorization Server functionality: http://blog.scottlogic.com/2015/03/09/OAUTH2-Authentication-with-ADFS-3.0.html

    Putting the token endpoint behind "basic authentication" does not help you because you'd be authenticating the client on the token endpoint, not the user. You could put the authorization endpoint behind "basic authentication" though.

提交回复
热议问题