devertry|deepsheep
04/13/2023, 8:19 AMdevertry|deepsheep
04/13/2023, 8:19 AMdevertry|deepsheep
04/13/2023, 8:19 AMLucky (Jonathan)
04/15/2023, 11:07 AMLucky (Jonathan)
04/15/2023, 11:08 AMhttps://cdn.discordapp.com/attachments/603466164219281426/1096753845994004572/image.png▾
Volks
04/18/2023, 11:54 AMsupertokens-js
sdk for all JS platforms? In general, most of the similar libraries tend to go to this approach, a monorepo with a core js
library and then separate packages for the dedicated UI packages. This would be a major undertaking but the benefits would be having a single-code base for all the js
stuff, alongside not having to lag behind or double implement the features between RN and Web, as they practically behave exactly the same, minus the cookies that you don't use on RN. Thoughts?Axel Jönsson
04/20/2023, 12:13 PMRémi
04/25/2023, 3:01 PMflash-singh
04/27/2023, 1:22 AMNamratha
05/05/2023, 5:07 AMporcx
05/09/2023, 2:56 PMOctalpusX
05/10/2023, 11:59 PMOctalpusX
05/11/2023, 12:04 AMOllie.
05/11/2023, 1:24 AMczalez17
05/11/2023, 3:44 PMserg
05/19/2023, 3:21 PMEJ
05/23/2023, 8:57 PMKrishnamurthy
05/24/2023, 4:48 PMhttps://cdn.discordapp.com/attachments/603466164219281426/1110972551938703431/image.png▾
Smultar
05/25/2023, 7:19 PMcore
to use supertokens with nextjs
?Alec Xiang
05/27/2023, 12:00 AMSmultar
05/27/2023, 6:48 PMLinenBot
09/13/2023, 9:57 AMDominik John
joined #general. Also, Andrew
, BM
, Christopher Rijos
, nik2208
, Aaron Kopplin
and Umair Asim
joined.Umair Asim
01/18/2024, 4:28 PMLinenBot
01/21/2024, 3:08 PMThomas R Underwood II
joined #general.Thomas R Underwood II
01/21/2024, 3:13 PMThomas R Underwood II
01/21/2024, 3:13 PMimport { Inject, Injectable } from '@nestjs/common';
import supertokens from "supertokens-node";
import Session from 'supertokens-node/recipe/session';
import Passwordless from 'supertokens-node/recipe/passwordless';
import Dashboard from "supertokens-node/recipe/dashboard";
import { ConfigInjectionToken, AuthModuleConfig } from "../config.interface";
import UserRoles from "supertokens-node/recipe/userroles"
@Injectable()
export class SupertokensService {
constructor(@Inject(ConfigInjectionToken) private config: AuthModuleConfig) {
supertokens.init({
appInfo: config.appInfo,
supertokens: {
connectionURI: config.connectionURI,
apiKey: config.apiKey,
},
recipeList: [
Dashboard.init({
admins: [ ],
}),
UserRoles.init(),
Passwordless.init({
flowType: "USER_INPUT_CODE",
contactMethod: "EMAIL_OR_PHONE"
}),
Session.init(),
],
});
}
}
LinenBot
01/23/2024, 6:18 AMcash4carsadelaidesa2
joined #general.cash4carsadelaidesa2
01/23/2024, 6:22 AMLinenBot
01/23/2024, 6:54 AMLocal Cash For Car
joined #general. Also, Daniel Sinai
, Figaro Smartotum
, Jacobus
and Bryan Maldonado
joined.Bryan Maldonado
03/25/2024, 4:44 PM