OAuthClients

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

Request

  • Base URL: https://api.flipdish.co
  • URL: https://api.flipdish.co/api/v1.0/{appId}/oauthclients/{oauthAppId}
  • Auth: OAuth 2 (implicit, authorization URL https://api.flipdish.co/identity/connect/authorize, scopes: api)

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

Changes

No recorded changes to this operation across all 13 revisions of this API.