Xsolla-logo

Social-Media-Token in JWT aktualisierenClient-side

post/social/{provider_name}/refresh_token

Aktualisiert den Social-Media-Token durch den Social-Media-Aktualisierungstoken aus dem 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>

Login-Projekt-ID aus dem Kundenportal.

Responses
200

OK

400

Bad Request

401

Bad Request

404

Not Found

422

Unprocessable Entity

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"
}