Obtain an authorization code
An example detailing the steps involved in authorization.
Authorization
1. Send authorization code request:
GET http://{{oauth}}/oauth/sso?grant_type=code&client_id=reltio_ui&response_type=code&state=ABCD&tenant_id=github&redirect_uri={{ui_callback}}
In the response, the user is redirected to the IdP login page, and after login is
returned on {{ui_callback}}
URL using an additional parameter, you must get an access token using the authorization code.
2. Get access token by authorization code:
POST http://{{oauth}}/oauth/token?grant_type=authorization_code&code=x00yyy12345zzz000z11
Headers:
Authorization Basic {{reltio_ui}}
3. Validate token:
POST http://{{oauth}}/oauth/checkToken?token=x000xx111y00x0x1234xyz1z00xyz123y123y1z0
Authorization Basic {{reltio_ui}}