supertokens service: ``` @Injectable() export cla...
# support-questions-legacy
s
supertokens service:
Copy code
@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({}),
            ],
        })
    }
}
2 Views