Hi, does anyone know if there's a way to make a backend request to get an access and refresh token from the SuperTokens core on behalf of a user without their credentials?
r
rp_st
08/09/2022, 4:09 PM
Hey!
rp_st
08/09/2022, 4:10 PM
Yes. There is a way
rp_st
08/09/2022, 4:10 PM
The session recipe exposes a function called createNewSession
rp_st
08/09/2022, 4:10 PM
Which you can call. And that function takes in a userId
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).