What is OAuth 2.0 ?
OAuth 2.0 is the industry-standard protocol for authorization. OAuth 2.0 supersedes the work done on the original OAuth protocol created in 2006. OAuth 2.0 focuses on client developer simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and living room devices. This specification is being developed within the IETF OAuth WG.
#
OAuth LibrariesThere are many libraries written for your popular programming language. You can easly use MonoSign with these libraries.
Here is the list of OAuth libraries; https://oauth.net/code/
#
Integration with MonoSignWhen you contact with MonoSign team, they will provide you some informations to make both systems are connected well.
You will also take some informations about endpoints.
#
Provided InformationsYou will receive these informations;
baseSSOUrl
is organization url.
Information | Value | Description |
---|---|---|
Auth Url | https://{baseSSOUrl} /oauth/authorize | Authorization Endpoint |
Access Token Url | https://{baseSSOUrl} /oauth/token | Access Token Endpoint |
User Info Url | https://{baseSSOUrl} /oauth/userinfo | User Info Endpoint |
Client Id | {GUID} | Unique Identifier |
Client Secret | {GUID} | Unique Identifier |
Scope (Optional) | profile | OAuth 2 Scope |
Grant Type | Authorization Code | Grant Type Info |
#
User Info Endpointhttps://{baseSSOUrl}
/oauth/userinfo
This endpoint will you provide an user profile to access full information of users.
#
RequirementWhen you authenticate user, you will take an authorization token.
All provided endpoints required Authorization Header for informations. If you don't provide this information you will take Unauthorized or Forbidden error.