Access Token
관리자에서 발급받은 key, secret을 통해 api를 요청할 수 있는 token을 발급
Get Token
POST https://uprism.io:30443/oauth/token
OAuth2 인증 방식을 따라 토큰을 발급하는 API Client Credentails 방식을 이용하여 토큰을 발급합니다.
Headers
Name
Type
Description
Authorization
string
"Basic " + base64(clientKey:clientSecret)
Request Body
Name
Type
Description
grant_type
string
client_credentials
{
"access_token": "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p",
"token_type": "bearer",
"expires_in": 3599,
"scope": "read write"
}{
"timestamp": 1563946941375,
"status": 401,
"error": "Unauthorized",
"message": "Bad credentials",
"path": "/oauth/token"
}Last updated
Was this helpful?