Skip to content

Profile Sessions

SlejmUr edited this page Aug 8, 2022 · 1 revision

POST /v3/profile/sessions

Request

Method: POST

NeedAuth: NO (This is the auth)

Headers:

Name Example Required Description
Ubi-AppId f68a4bb5-608a-4ff2-8123-be8ef797e0a6 Yes Uplay Application Id, specially for every usercase (!!Demux!!)
Ubi-RequestedPlatformType uplay TODO Platform type like uplay, epic, steam
Authorization (1)ZXhhbXBsZUBleGFtcGxlLmNvbTpleGFtcGxlMTIz Yes Basic, Base64 encoded Email:Password
User-Agent UbiServices_SDK_2019.Release.17_PC64_ansi_static TODO User Agent from Uplay app
ubi-rememberdeviceticket TODO No RememberMeTicket from response if you failed (You may store this)
Ubi-2FACode 365895 TODO Get from Email or Any 2FA thing

JSON:

{"rememberMe": true}

(1)
"Email:Password" = [email protected]:example123
Encoded to Base64 = ZXhhbXBsZUBleGFtcGxlLmNvbTpleGFtcGxlMTIz

Response

200 OK

JSON:

Name Example Description
platformType uplay It always same as Ubi-RequestedPlatformType or alway uplay (TODO)
ticket ewog... Ubi v1 Token
twoFactorAuthenticationTicket TODO Ubi 2FA v1 Token
profileId f1b010e1-d441-47b1-be1f-cea6e2f22e19 Logged member profileId
userId TODO Logged member userId
nameOnPlatform Pengu.DZ Logged member name
environment Prod TODO
expiration 2022-01-16T17:18:41.1000754Z Time when it no longer can use anything
spaceId e17be87d-2996-4f3b-97c4-19bb2dae2933 Ubi-AppId's owned spaceId
clientIp Private Your IP
clientIpCountry Private Your country
serverTime TODO TODO
sessionId Private TODO
sessionKey Private TODO
rememberMeTicket ewog... TODO
Clone this wiki locally