v1

latestSwagger 2.02026-08-045928532.7 MB
OAuthClients

post/api/v1.0/{appId}/oauthclients/{oauthAppId}

Path parameters

oauthAppIdstring required
appIdstring required

Request body

OauthAppIdstring

OAuth App Identifier

OauthAppNamestring

OAuth App Name

OwnerUserIdinteger

OAuth App owner user identifier

LogoUristring

OAuth App logo uri

Flow'AuthorizationCode' | 'Implicit' | 'Hybrid' | 'ClientCredentials' nullable

Supported OpenID Connect flows

RefreshTokenUsage'ReUse' | 'OneTimeOnly' nullable

ReUse: the refresh token handle will stay the same when refreshing tokens OneTime: the refresh token handle will be updated when refreshing tokens

AccessTokenLifetimeinteger nullable

Timem it takes for the IdentityToken to expire in seconds

AbsoluteRefreshTokenLifetimeinteger nullable

Maximum lifetime of a refresh token in seconds

Example request

{
  "OauthAppId": "6364835077453070787486",
  "OauthAppName": "My OAuth App",
  "OwnerUserId": 12345,
  "LogoUri": "https://domain.com/mylogo.png",
  "Flow": 2,
  "AccessTokenLifetime": 3600,
  "AbsoluteRefreshTokenLifetime": 2592000
}

Response

OK