Marques
Access-Control-Allow-Origin
appInfo: { appName: 'RCRaceControl', apiDomain: 'http://localhost:8080', apiBasePath: "/auth", }, recipeList: [ Session.init(), ThirdPartyEmailPassword.init() ]
app.enableCors({ origin: 'http://localhost:5173', allowedHeaders: ['content-type', ...SuperTokens.getAllCORSHeaders()], methods: ['GET', 'PUT', 'POST', 'DELETE'], credentials: true, });
http://localhost:5173
http://localhost:8080
rp_st
allowedHeaders: ['content-type', ...SuperTokens.getAllCORSHeaders()]
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).