auth v1

Authenticate player with oauth token.

Changed on
post/iam/v1/oauth/login_id_token

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/iam/v1/oauth/login_id_token
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

provider'google' | 'twitter' | 'facebook' | 'discord' | 'epic_games' | 'line' | 'apple' required

Enum of the supporting OAuth providers.

tokenstring required

Token to be verified

Example request

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}

Response

Ok

tokenstring required

JWT access token.

refreshTokenstring required

Refresh token.

Changes

    • info

      removed from the //////////// response property anyOf list for the response status

    • info

      removed the zkSync enum value from the //////////// response property for the response status

    • breaking

      the ///////////// response's property type changed from no type to object for status

    • info

      added the optional property //////////// to the response with the status

    • info

      added the optional property ////////////// to the response with the status

    • info

      added the optional property ////////////// to the response with the status

    • info

      added the required property ////////////// to the response with the status