OAuth2 token exchange for plugin backends (auth_code + PKCE + private_key_jwt)
POST
/api/v1/{tenantId}/external-plugin/oauth/token
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” tenantId
required
string
Request Body
Section titled “Request Body ”object
grant_type
string
client_id
string
code
string
code_verifier
string
client_assertion_type
string
client_assertion
string
Responses
Section titled “ Responses ”OK
object
access_token
string
token_type
string
expires_in
integer format: int32
refresh_token
string
revo
object
tenant
string
user
object
firstname
string
lastname
string
email
string
nickname
string
mobileNumber
string
icon
string
userId
string
roles
Array<object>
object
name
string
group
string
Bad Request
object
error
string
error_description
string