mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
729 B
729 B
id, title
| id | title |
|---|---|
| onelogin | OneLogin |
Documentation
https://developers.onelogin.com/openid-connect
Configuration
https://developers.onelogin.com/openid-connect/connect-to-onelogin
Options
The OneLogin Provider comes with a set of default options:
You can override any of the options to suit your own use case.
Example
import OneLoginProvider from "next-auth/providers/onelogin";
...
providers: [
OneLoginProvider({
clientId: process.env.ONELOGIN_CLIENT_ID,
clientSecret: process.env.ONELOGIN_CLIENT_SECRET,
issuer: process.env.ONELOGIN_ISSUER
})
]
...