Hi, in supertokens-auth-react, is there a way to include query params in the redirectToPath param? I saw there already is an issue for it https://github.com/supertokens/supertokens-web-js/issues/82
Is there a way to circumvent this before the next release?
r
rp_st
02/07/2023, 11:40 AM
hey @zoomeez_ there is a way to hack around where before you redirect to the login screen, save the query params in session storage
And when you are redirected back to the final destination, read the query params from the URL first, and if not present, read from session storage and reload the page.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).