Skip to content

Auth & session ​

How to obtain a Session. Read Authentication first; this page is the HTTP contract.

Create session ​

POSThttps://public-ubiservices.ubi.com/v3/profiles/sessions

Two modes, same URL:

ModeAuthorizationResult
Password loginBasic {base64(email:password)}New session for this Ubi-AppId
Complete 2FAUbi_2fa_v1 t={twoFactorAuthenticationTicket}Full session after ubi-2facode
Ticket exchangeubi_v1 t={ticket}New session for a different Ubi-AppId

Headers ​

Standard headers. For password login, replace Authorization with Basic and you may omit Ubi-SessionId. For 2FA completion, add ubi-2facode.

Body ​

ts
type CreateSessionBody = {
  rememberMe?: boolean
  trustedDevice?: null
}

Empty {} is accepted. rememberMe: true is what yields rememberMeTicket on success. 2FA completion uses { trustedDevice: null } or { rememberMe: true }.

Response ​

Session.

2FA ticket is not a full ticket

HTTP 200 with ticket: null and a populated twoFactorAuthenticationTicket means 2FA is enabled. That 2FA ticket is usable as Authorization: ubi_v1 t={twoFactorAuthenticationTicket}, but it has limited scope and access compared to a real ticket. Details: Two-factor.

Notes ​

  • First login almost always uses Main Auth 4391c956-8943-48eb-8859-07b0778f47b9.
  • Alternate login app ID: 503a4b49-12c9-47b9-b26d-6a1a7e38c08c.
  • Response includes userId, nameOnPlatform, dateOfBirth, rememberMeTicket, and 2FA-related fields.

2FA status ​

GEThttps://public-ubiservices.ubi.com/v3/profiles/me/2fa
Auth
Ticket

Current two-factor configuration for the authenticated user (enabled or not). Needs a full ticket, not a 2FA ticket.

Headers ​

Standard headers.

Response ​

Shape varies by whether 2FA is enabled. Treat it as a status payload, not a session.

Setup / disable: Account → 2FA.

Connect 2FA check ​

GEThttps://connect.ubisoft.com/v2/webauth/public/webauth/check2fa

Alternate 2FA status check used by Ubisoft Connect website, on the Connect host. Requires the website's SSO cookies, not a raw ubi_v1 ticket.

Related cookie flow: Cross-channel SSO.

Unofficial community documentation. Not affiliated with Ubisoft.