Password-less Authentication (OTP)
OTP login method for players.
Note: View the OTP Webhook in the API reference page.
To activate Password-less (OTP) login for players, follow these steps:
Contact Appcharge Support:
Reach out to the Appcharge support team to enable Password-less (OTP) login. Provide the following details:
- Preferred code type: 4 or 6 digits
- Webhook for deep-link and access token generation
OTP Authentication Flow:
- Publisher-Appcharge Interaction:
The publisher provides Appcharge with deep links and access tokens for player authentication. - Appcharge-Publisher Interaction:
- When a player uses OTP authentication:
- Appcharge sends the entered code and the player's access token via an authentication webhook to the publisher.
The publisher authenticates the player based on the method and parameters provided by Appcharge.
- Player's Perspective:
- Desktop:
- The player selects OTP login and receives a link/QR code.
Opening/scanning the link redirects the player to an external app, where they receive a 6 or 4-digit code. - The player enters these digits into the login screen and clicks 'login.'
- Mobile:
- The player selects OTP login.
- Appcharge generates a deep link via the webhook, redirecting the player to the provided link.
- The publisher redirects the player to the web store, including the proofKey query parameter to specify the preferred code type:
Example: https://publisher-web-store/login?proofKey=xxxx
Note: Feel free to adjust the specifics based on your platform's requirements or if any additional steps are needed.
Technical High Level Flow
Updated 3 months ago