/auth/api/v1/oauth/authorize
Redirects the request to login. OAuth2.0 Authorize Request
response_type
string
client_id
string
state
string
redirect_uri
string
user_agent
string
oidc_id
string
scope
string
Temporary redirect
Empty response
/auth/api/v1/oauth/token
Access Token Request https://tools.ietf.org/html/rfc6749. Supported grant types by OAuth domain:
client_id
string
OAuth2.0 client ID
grant_type
string
Grant type
refresh_token
string
Optional. Used if grant_type is refresh_token
code
string
Optional. Used if grant_type is authorization_code
redirect_uri
string
Optional. Used if grant_type is authorization_code
username
string
Optional. Used if grant_type is password
password
string
Optional. Used if grant_type is password
scope
string
Optional. Used if grant_type is password.
Successful response, returns JSON object
{
"access_token": "eyJhbGciOiJFZDI1NTE5IiwidHlwIjoiSldUIn0=.eyJhdWQiOiJwcml2eC11aSIsImV4cCI6MTUyMjgzNjAxNSwiaWF0IjoxNTIyODM1NzE1LCJpc3MiOiJvYW0uYXV0aC5zc2guY29tIiwiZG9tYWluIjoicHJpdngtdWkiLCJwZXJtaXNzaW9ucyI6InByaXZ4LWFkbWluLHByaXZ4LXVzZXIiLCJzZXNzaW9uaWQiOiI4MWI2NjNiOC02Zjc5LTQ3ZjctNzY0Yy03MTdmMGEwNjk0MjYiLCJ1c2VyaWQiOiJhOGMyNjM5NS0zMmZjLTQxMjctYmRiNy04MDllZThhMjAzZjIifQ==.JM6RrCYg9djDnoJtRkAMAKvkM2Zm9dYuxgN1zZA7G1-XTCc4Iub_y6lKdhHnoRm_hUwW6QtRWm8IlAUayqs4Aw",
"token_type": "bearer",
"expires_in": 300,
"refresh_token": "I7SNNZH4GLZNCOIV7D6DKULPFXBWBD4TTZJ5KQDCO3N2W7D562WSE5QWSNQFO7OTG5VRGPDU73SEUR5NVTXLPNDV6TQD6OH6V7S3JNWNFSPZ3ARSSJKJO6MSPVHRY3OFFXN4YLRDZPODQCDW6UL27PLR2YWUOUHF5WBIKZVDR4H5R4VQSPPKBBJC4GWJ3XAPWZL4DBVT6YH6PVBWMOKJHDO66577OBJVOOKWAVY7JEFQTTZNRTNDXPHI42AGHMCNWHFBSG63PXSMO67YQJBC55CHAQQI3XS3ZUCQ",
"scope": "privx-user connections-manual"
}
Was this page helpful?