How to implement an OAuth 2.0 Authorization Server?

后端 未结 2 1009
小蘑菇
小蘑菇 2021-02-02 03:36

I understood how to write Running OAuth 2.0 code for the client side.

Using existing Authorization Server, like Google, seems to be not too complicated.

Question

相关标签:
2条回答
  • 2021-02-02 04:15

    Check out OpenAM by Forgrock. With little work you should be able to get a java based OAuth authorization server running.

    http://openam.forgerock.org/

    0 讨论(0)
  • 2021-02-02 04:16

    The best reference is the OAuth 2.0 site. They list the available server libraries that you can use. Currently, the options are:

    Java

    • Apache Oltu
    • Spring Security for OAuth
    • Apis Authorization Server (v2-31)
    • Restlet Framework (draft 30)
    • Apache CXF

    PHP

    • PHP OAuth2 Server and Demo
    • PHP OAuth 2.0 Auth and Resource Server and Demo
    • PHP OAuth 2.0 (AS with SAML/BrowserID AuthN, with management REST API, see DEMO)

    Python

    • Python OAuth 2.0 Provider (see Tutorial)
    • OAuthLib (a generic implementation of the OAuth request-signing logic) is avaliable for Django and Flask web frameworks

    Other

    • NodeJS OAuth 2.0 Provider
    • Ruby OAuth2 Server (draft 18)
    • .NET DotNetOpenAuth
    • Erlang Oauth2 Server framework

    I would also highly recommend that you read all the documentation available on how the standard works before getting started. There are many parts to OAuth and it can get confusing. At least, that's how I feel.

    0 讨论(0)
提交回复
热议问题