Kranos
useShadowDom: false
import SuperTokens from "supertokens-auth-react"; import ThirdPartyEmailPassword from "supertokens-auth-react/recipe/thirdpartyemailpassword"; SuperTokens.init({ appInfo: { apiDomain: "...", appName: "...", websiteDomain: "...", }, recipeList: [ ThirdPartyEmailPassword.init({ getRedirectionURL: async (context) => { if (context.action === "SUCCESS") { if (context.redirectToPath !== undefined) { // we are navigating back to where the user was before they authenticated return context.redirectToPath; } return "/dashboard"; } return undefined; } }), ] });
weboux
mib200
consumeCode
yarfink
Access-Control-Max-Age
Val
{ message: "try refresh token" }
/auth/dashboard
Arne
Joe P
raoul97.
beemoe5
execreate
create_code_post / consume_code_post
get_session
api_options.request
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).