d70e61f92e
Migrate from function-based social login helpers (`facebookLogin`, `googleLogin`) to class-based services (`new FacebookLogin().signIn()`, `new GoogleLogin().signIn()`), updating call sites in `AuthFacebookPanel` and `SplashButton` with try/catch error handling. The NextAuth route handler is also refactored to the v4 pattern, importing pre-built `GET` / `POST` exports from `@/lib/auth/nextauth` instead of constructing the handler inline with `NextAuth(authOptions)`.
1.2 KiB
1.2 KiB
id, title
| id | title |
|---|---|
| united-effects | United Effects |
Documentation
https://docs.unitedeffects.com/integrations/nextauthjs
Configuration
https://core.unitedeffects.com
Options
The United Effects Provider comes with a set of default options:
You can override any of the options to suit your own use case.
Example
import UnitedEffectsProvider from "next-auth/providers/united-effects";
...
providers: [
UnitedEffectsProvider({
clientId: process.env.UNITED_EFFECTS_CLIENT_ID,
clientSecret: process.env.UNITED_EFFECTS_CLIENT_SECRET,
issuer: process.env.UNITED_EFFECTS_ISSUER
})
]
...
:::note
issuer should be the fully qualified URL including your Auth Group ID – e.g. https://auth.unitedeffects.com/YQpbQV5dbW-224dCovz-3
:::
:::warning The United Effects API does not return the user name or image by design, so this provider will return null for both. United Effects prioritizes user personal information security above all and has built a secured profile access request system separate from the provider API. :::