Skip to main content
All CollectionsEmbedding and API Auto LoginAPI Access
Setup Auto-login with SocialPoint APG
Setup Auto-login with SocialPoint APG

Here is a step-by-step guide on how to use the Auto-Login feature for APG

Updated over a year ago

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:

  1. Head over to Participation Game > Configuration > Deployment and look for the Auto-Login URL

  2. Add the player's email address and PIN (find them under Participation Game > Players)

  3. When done, it should look something like this:

In this URL, we're logging into an existing APG with the following variables:


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:

  1. Navigate to Participation Game > Configuration

  2. Enable Custom Labels and hit Update

  3. Head over to Custom Labels and look for the Registration & Login tab

  4. 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."

Did this answer your question?