rp
01/20/2022, 12:54 PMagnieszka.olszewska
01/20/2022, 1:12 PMrp
01/20/2022, 1:26 PMQuinnfinite
01/23/2022, 12:24 AMSuperTokens.init({
appInfo: {
appName: 'app',
apiDomain: webAndApiDomain,
websiteDomain: webAndApiDomain,
},
recipeList: [
EmailPassword.init({
emailVerificationFeature: {
mode: 'REQUIRED',
},
palette: {
primary: colors.turquoise,
},
}),
Session.init(),
],
});
Back-end:
supertokens.init({
framework: 'fastify',
supertokens: {
connectionURI: process.env.SUPER_TOKENS_CONNECTION_URI,
apiKey: process.env.SUPER_TOKENS_API_KEY,
},
appInfo: {
appName: 'app',
apiDomain: webAndApiDomain,
websiteDomain: webAndApiDomain,
},
recipeList: [
EmailPassword.init(), // initializes signin / sign up features
Session.init(), // initializes session features
],
});
rp
01/23/2022, 3:03 AMrp
01/23/2022, 5:01 AMQuinnfinite
01/23/2022, 5:19 AMrp
01/23/2022, 5:20 AMrp
01/23/2022, 6:22 AMrp
01/23/2022, 6:23 AMDerZade
01/23/2022, 12:38 PM/signout
and /session/refresh
(according to this: https://app.swaggerhub.com/apis/supertokens/FDI/1.12.0#/)
Am I missing something?
I couldn't find proper docs on what exactly, each endpoint needs to do. I looked through some implementations and I have to say that most of them are not as straight-forward as I hoped and quite complex to understand (obviously, because they have to handle much more use-cases and options then I would need)
Is there proper documentation on implementing a SDK for a new language, or do I just have to go though existing implementations?
Thanks a lot in advance 🤗rp
01/23/2022, 12:45 PMrp
01/23/2022, 12:45 PMDerZade
01/23/2022, 12:46 PMDerZade
01/23/2022, 12:46 PMrp
01/23/2022, 12:47 PMteja
01/25/2022, 6:38 AMrp
01/25/2022, 6:45 AMteja
01/25/2022, 6:47 AMrp
01/25/2022, 6:50 AMrp
01/25/2022, 6:50 AMteja
01/25/2022, 6:52 AMrp
01/25/2022, 6:52 AMteja
01/25/2022, 6:54 AMrp
01/25/2022, 6:55 AMrajhans84
01/26/2022, 2:15 AMrajhans84
01/26/2022, 2:26 AMmiguelcobain
01/26/2022, 11:05 PMconnectionURI: 'https://example.com/supertokens/'
, but it seems like my backend is trying to make requests like https://example.com/apiversion
.
Does supoertokens support using a base path/prefix for the connectionURI? Seems like it is ignored.rp
01/27/2022, 4:28 AMmiguelcobain
01/27/2022, 5:09 PM