These docs are for AuthRocket 1. Looking for AuthRocket 2 docs?

Create a Session without User Intervention

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.