auth v2

Get access token.

Changed on

Get a valid access token, doing a refresh if needed

post/get-access-token

Request

  • Base URL: https://api.openfort.io/iam/v2/auth
  • URL: https://api.openfort.io/iam/v2/auth/get-access-token
  • Auth: HTTP bearer and API key in header x-project-key

Request body

providerIdstring required

The provider ID for the OAuth provider

accountIdstring nullable

The account ID associated with the refresh token

userIdstring nullable

The user ID associated with the account

Response

A Valid access token

tokenTypestring
idTokenstring
accessTokenstring
refreshTokenstring
accessTokenExpiresAtstring date-time
refreshTokenExpiresAtstring date-time

Changes