Authentication
Authentication APIs reference
Summary
Authentication method to access SkyJoy APIs
Methods
Retrieve Access Token
POST
https://id.skyjoy.vn/realms/loyalty-partner/protocol/openid-connect/token
Headers
Content-Type
string
x-www-form-urlencoded
Request Body
client_id*
string
Client ID
client_secret*
string
Client secret
username*
string
Client username
password*
string
Client password
grant_type*
string
Grant type
Refresh Token
POST
https://id.skyjoy.vn/realms/loyalty-partner/protocol/openid-connect/token
Headers
Content-Type
string
x-www-form-urlencoded
Request Body
client_id*
string
Client ID
client_secret*
string
Client secret
grant_type*
string
Grant type
refresh_token
string
Refresh token
Exchange Token
POST
https://api.skyjoy.vn/api-identity/public/v1/exchange-token
Headers
Content-Type*
string
application/json
Request Body
token*
string
Partner token. It is a JWT token signed by partner private key
Last updated
Was this helpful?