Q: We have an existing login backend that cannot be easily replaced. So I’d like to use AuthRocket like this:
When someone is logged in at our backend, they can request the url /token. That will check the current user, and contact AuthRocket to find an identical user. If the user exists, it will generate a token and return it.
So, how do you generate a token without any user involvement?
A: Check out the Create a Session API. It’s designed for creating a session and token without user intervention.
Tagged with: sessions
Questions? Find a Typo? Get in touch.
Related articles:
Connecting Existing User Data
Limits on Simultaneous User Sessions
User Impersonation
Returning a JWT with Updated User and Org Data
Using AuthRocket with a Static Website
Getting Memberships when Authenticating a User
Making User Login Easier and Faster
Super Users and Support Agents
Create a Session without User Intervention
What is Inside a Login Token?
User Management Permissions
Testing API Calls
Retrieving Permissions
Encoding Extended Information into a JWT
Nesting Permissions