providers/beyondidentity
default()β
default(
config
):OIDCConfig
<BeyondIdentityProfile
>
Add Beyond Identity login to your page.
Parametersβ
βͺ config: OIDCUserConfig
< BeyondIdentityProfile
>
Returnsβ
OIDCConfig
< BeyondIdentityProfile
>
Exampleβ
import { Auth } from "@auth/core"
import BeyondIdentity from "@auth/core/providers/beyondidentity"
const request = new Request(origin)
const response = await Auth(request, {
providers: [BeyondIdentity({ clientId: BEYOND_IDENTITY_CLIENT_ID, clientSecret: BEYOND_IDENTITY_CLIENT_SECRET, issuer: BEYOND_IDENTITY_ISSUER })],
})
Resourcesβ
Notesβ
By default, Auth.js assumes that the BeyondIdentity provider is based on the OIDC specification.
The BeyondIdentity provider comes with a default configuration. To override the defaults for your use case, check out customizing a built-in OAuth provider.
If you think you found a bug in the default configuration, you can open an issue.
Auth.js strictly adheres to the specification and it cannot take responsibility for any deviation from the spec by the provider. You can open an issue, but if the problem is non-compliance with the spec, we might not pursue a resolution. You can ask for more help in Discussions.
BeyondIdentityProfileβ
Seeβ
Beyond Identity Developer Docs
Propertiesβ
emailβ
email:
string
The user's email address.
nameβ
name:
string
The user's full name.
preferred_usernameβ
preferred_username:
string
The user's preferred username.
subβ
sub:
string
The user's unique identifier.