You will receive a code that you have to use in exchange for the token in the next API call.Ī value to be returned in the token. REQUEST PARAMETERS ParameterĬlient_id (Client ID obtained from miniOrange)Įmail/ profile (scope of authorization or level of access) This API helps you to obtain the code parameter after the user authenticates with the account credentials using an authorization grant. State: yAwL-57K10sIIpGeVO7nR7ZAnzdsj01uGothExyVpmo &state=yAwL-57K10sIIpGeVO7nR7ZAnzdsj01uGothExyVpmo&nonce=ayLpTaFf-YzqtX3Jq_lTSKJmc7AUh5ELNwoIRs1XPmc redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Fsampleapp%2Foidcresponse&scope=email+profile You need to send a GET request to the authorization endpoint.Įxample: ( Create a REST service or similar on your application to handle the response from Authorization Endpoint. Authorization Grant Authorization Request Get user info endpoint can be used to obtain user details. Later client can exchange the refresh token for a new access token, if current access token is expired. The authorization code is a temporary code that the client will exchange for an access token (and refresh token if requested). OAuth 2.0 secure delegated authorization protocol works by providing Authorization code the requesting client application. Steps to integrate miniOrange SSO API for Oauth You should have an account on the application where you want to single sign-on.You need to create a free trial account with us (Go to ).This page contains detailed information about the OAuth endpoints that miniOrange exposes on its authorization servers.įor Openid Connect endpoints go to. If you wish to use any third-party client libraries or if you want to write your own client then you can use our endpoints directly to authenticate users on your website or application. It mainly includes Authorization, Token API, Get user info Endpoint, Revoke Token API Reference and Refresh Token Grant API Reference. This page gives an overview of the OAuth 2.0 authorization scenarios that miniOrange supports. The OAuth 2.0 authorization enables a third-party application to obtain limited access to miniOrange resources.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |