(id: string, clientId: string, clientSecret: string)
| 251 | } |
| 252 | |
| 253 | const createGoogleProvider = (id: string, clientId: string, clientSecret: string) => { |
| 254 | return Google({ |
| 255 | id, |
| 256 | clientId: clientId, |
| 257 | clientSecret: clientSecret, |
| 258 | allowDangerousEmailAccountLinking: env.AUTH_EE_ALLOW_EMAIL_ACCOUNT_LINKING === 'true', |
| 259 | }); |
| 260 | } |
| 261 | |
| 262 | const createOktaProvider = (id: string, clientId: string, clientSecret: string, issuer: string): Provider => { |
| 263 | return Okta({ |
no outgoing calls
no test coverage detected