[Gametize Tech] API: Login Data `interceptLogin`, What Does It Mean?
When working with our login API, you may encounter a parameter called interceptLogin
in the response data after a successful login. Here’s a quick guide to understanding this parameter and how to handle it:
-
interceptLogin
andinterceptLoginUrl
: Occasionally, a successful login may returninterceptLogin = true
. This parameter is a soft enforcement indicator for non-critical account actions, like accepting updated terms and conditions or updating a password. If ignored, it won’t disrupt the player account or its API usage. -
Using
interceptLoginUrl
: WheninterceptLogin
istrue
, the response will also include aninterceptLoginUrl
. This URL directs the user to a web page where they can complete the recommended action. As an API developer, you can optionally use this page within your app by embedding it—just ensure you pass thesession_key
for a seamless experience. This page will then allow users to perform actions like accepting new terms or updating their password easily.
This setup allows developers flexibility while helping users keep their accounts up-to-date in a non-intrusive way. Let us know if you have questions about implementing interceptLogin
!
Please sign in to leave a comment.
Comments
0 comments