Auto-Login works only when there are registered players on your game (learn more). To Auto-login players, you want to make sure you're using a URL that includes all necessary variables.
Building the URL
The URL has a structure that allows you to enter game-specific data.
URL: {{ player app url }}?email={{ email }}&pin={{ pin }}&embedCode={{ embedCode }}
Here's how to get the variables you need to build the URL:
Head over to Participation Game > Configuration > Deployment and look for the Auto-Login URL
Add the player's email address and PIN (find them under Participation Game > Players)
When done, it should look something like this:
In this URL, we're logging into an existing APG with the following variables:
"testplayer@test.com" as the email address
"123456" as the player's PIN
Adding a Custom Error Message
You want to make sure players get the right message if for some reason auto-login fails for them. To customize the error message, follow these steps:
Navigate to Participation Game > Configuration
Enable Custom Labels and hit Update
Head over to Custom Labels and look for the Registration & Login tab
Customize the Auto-Login Failed Message field
We recommend adding instructions on how to get support in case auto-login fails for them. Here's an example of what other customers have used in the past:
"Auto-Login failed. Head over to Reception and speak to Eric to get assistance with this error."