Xsolla-logo

Actualizar tókenes de redes sociale en JWTClient-side

post/social/{provider_name}/refresh_token

Actualiza el token de redes sociales mediante el token de actualización de redes sociales del JWT.

SecurityBearer
Request
path Parameters
provider_name
required
string

Name of the social network connected to Login in Publisher Account. Can be: amazon, apple, babka, baidu, battlenet, discord, epicgames, facebook, github, google,kakao, linkedin, mailru, microsoft, msn, naver, ok, paypal, qq, reddit, steam, twitch, twitter, vimeo,vk, wechat, weibo, xbox, yahoo, yandex, youtube.

If you store user data in PlayFab, only twitch is available.

query Parameters
projectId
required
string <uuid>

ID del proyecto de Login procedente de Cuenta del editor.

Responses
200

ACEPTAR

400

Bad Request (Solicitud errónea)

401

Bad Request (Solicitud errónea)

404

Not Found (No encontrado)

422

Unprocessable Entity (Entidad no procesable)

Request samples
curl --request POST \
  --url 'https://login.xsolla.com/api/social/{provider_name}/refresh_token?projectId=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer BEARER_TOKEN'
Response samples
application/json
{
  • "token": "some jwt"
}