auth v1

Initialize OAuth.

Changed on
post/iam/v1/oauth/init

Request

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

Headers

x-gamestring

The publishable key of the game project.

Request body

usePoolingboolean

Use Pooling for the OAuth flow

This option is for the flow that requires the user can't be redirected from the authorization page to the application. The client should poll the server to check if the user has authorized the application.

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

Enum of the supporting OAuth providers.

Response

Success response

urlstring required
keystring required

Changes