stealthadvisor
10/04/2023, 8:34 AM@Injectable()
export class SupertokensService {
constructor(@Inject(ConfigInjectionToken) private config: AuthModuleConfig) {
supertokens.init({
appInfo: env.auth.appInfo,
supertokens: env.auth.supertokens,
recipeList: [
ThirdPartyEmailPassword.init({
providers: [
{
config: {
thirdPartyId: 'google',
clients: [env.auth.providers.google],
},
},
],
}),
Session.init({}),
],
})
}
}