Xsolla-logo

[JWT] Refresh social tokens in JWT Client-side

post/social/{provider_name}/refresh_token

Refreshes social token by social refresh token from JWT.

SecurityBearer
Request
path Parameters
provider_name
required
string

Name of the social network connected to Login in Publisher Account. Can be: babka, epicgames, generic.

query Parameters
projectId
required
string <uuid>

Login project ID from Publisher Account.

Request Body schema: application/json
is_cross_provider
boolean

Wheather the ability to use a cross-platform account set up for the provider.

Responses
200

OK

400

Bad Request

401

Bad Request

404

Not Found

422

Unprocessable Entity

Request samples
application/json
{
  • "is_cross_provider": true
}
Response samples
application/json
{
  • "token": "some jwt"
}