Hi @rp_st,
I have 2 requirements,
1. I have set up super token core and backend integration with SDK, and everything works 🙂 . But, how do I enable the dashboard?
2. Assume if I pass the accessToken as a header instead of setting it in cookie for session verification, is there any function in the sdk that takes accessToken as a string and validates it?
r
rp_st
08/26/2022, 5:16 AM
1. Hey! We don't have a dashbaord yet, but will be releasing a basic version very soon (in 1-2 weeks time)
2. There is no function that takes just the access token string as of today. What you can do is add a middleware for your APIs which takes the token from the custom header and sets it as cookies in the request object such that the verifySession function can then read it.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).