Seamlessly Bypass Web App Login for Gametize Sandbox Testing
For developers working with Gametize’s sandbox platform, we’re introducing an interim step to seamlessly bypass the login page for testing purposes. While we don’t yet have a one-step API call that directly signs in (or registers) a user and redirects them into the web application, you can achieve the same effect using these simple steps.
🔹 Where Does This Apply?
This method is for sandbox testing only:
✅ Step 1A: Logging in an Existing User
- API Endpoint:
https://api.sandbox.gametize.com/api2/
- If the user already exists (registered by an Administrator), use the Login API:
POST /api2/login.json
- This returns a session key needed for the next step.
✅ Step 1B: Registering a New User
- API Endpoint:
https://api.sandbox.gametize.com/api2/
- If you need to register a new user, use the Registration API:
POST /api2/register.json
- This creates the user and immediately provides a session key.
✅ Step 2: Seamless Login into the Web App
Once you have the session key, simply use the following URL to log the user into the sandbox app automatically:
https://sandbox.gametize.com/postloginintercept?intercept_url=https://sandbox.gametize.com/frameloginsuccess?sessionKey=[SESSION KEY]
(Replace [SESSION KEY]
with the session key retrieved from Step 1.)
🚀 What’s Next?
This is just an interim solution while we work towards a one-step API call that handles both authentication and redirection. Stay tuned for further improvements, and let us know if you have any feedback! 😊
Please sign in to leave a comment.
Comments
0 comments