Hi! I'm working on a scheme that will allow partners to "vouch" for users by putting an auth token into the URL when redirecting to our site. Before I implement this from scratch, is there anything SuperTokens has out of the box for this, or recommendations on how I should do it?
r
rp_st
08/22/2022, 3:53 PM
hey @Morgante Pell yea you can. Checkout the jwt recipe we have - you can use that to generate a JWT which can be the auth token in the URL
m
Morgante Pell
08/22/2022, 4:14 PM
Hmm, that's not quite what I'm looking for. I need to upgrade from the JWT-signed URL into a session.
r
rp_st
08/22/2022, 4:18 PM
Hmm. So you want to consume the token in the url to create a new session?
rp_st
08/22/2022, 4:18 PM
If so, you can call the Session.createNewSession function in that api
m
Morgante Pell
08/22/2022, 4:21 PM
Got it, yeah looks like I will have to do a mix of both.