vyobukhov
04/06/2023, 10:25 AMrp_st
04/06/2023, 11:40 AMgenerateStateToSendToOAuthProvider
function on the frontend and and generating your own state string containing the target domain (here is our implementation of generating a state: https://github.com/supertokens/supertokens-web-js/blob/master/lib/ts/recipe/thirdparty/recipeImplementation.ts#L243)
Then in your backend override for for apple redirection, you can read this state and know where to send the user to.SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).
Powered by