How to set up a shadow Login project
- Create a shadow Login project if it has not already been created (see Integration Guide, steps 1–5).
- Set up your shadow Login project in Publisher Account.
- Integrate the solution on the side of your application.
Setting up in Publisher Account
- Open your project in Publisher Account and go to the Login section.
- Click Configure in the panel of a shadow Login project.
- On the navigation page, go to the Authentication block and select the Publishing platforms section.
- To connect a publishing platform, click the ⚙ icon next to its name and select Settings.
- In the modal window, specify the parameters for the selected platform:
- Application ID — AppID of your account on the platform;
- Application secret key — Web API Key.
- Epic Games:
- Application ID — Client ID of the client of your game on the platform;
- Application secret key — Secret key of the client of your game on the platform.
- Xbox Live:
- Application ID — Application ID/Client ID of your game on the platform;
- Application secret key — Application Secret generated when your game was registered on the platform.
- Click Connect.
- Go to the Callback URLs tab and specify the following parameters:
- Callback URL — the URL or path in the application to which users are redirected after they have successfully authenticated, confirmed their email, or reset their password. You can specify multiple valid URLs.
- Error callback URL — the URL or path in the application to which users are redirected in case of an authentication error. If no value is specified, the Callback URL value will be used.
- Click Save changes.
Application side integration
Use the instruction for the publishing platform that hosts your application:
Form a session ticket (
session_ticket parameter) based on the platform data after user authentication:
- Get the session ticket.
- Pass it to the silent authentication request (JWT or OAuth 2.0) as a
- Form a session ticket (
session_ticketparameter) based on the platform data after user authentication. The parameter is formed based on the
<xid>— Xbox User ID
<uhs>— user hash
<XSTSToken>— Xbox Secure Token Service
- Pass the
session_ticketparameter to the silent authentication request (JWT or OAuth 2.0).
- Get the
exchangecodeauthorization code from the platform, which is generated after user authentication.
- Pass the received
exchangecodeto the silent authentication request (JWT or OAuth 2.0) as the
Was this article helpful?
Rate this page
Don’t want to answer
Thank you for your feedback!
Found a typo or other text error? Select the text and press Ctrl+Enter.