Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
API reference
ping-id

providers/ping-id

PingProfile

Extends

Properties

acr

acr: string;

amr

amr: [string];

at_hash

at_hash: string;

aud

aud: string;

auth_time

auth_time: number;

email

email: string;

env

env: string;

exp

exp: number;

family_name

family_name: string;

given_name

given_name: string;

iat

iat: number;

iss

iss: string;

name

name: string;

org

org: string;

p1.region

region: string;

picture

picture: string;

preferred_username

preferred_username: string;

sid

sid: string;

sub

sub: string;

updated_at

updated_at: number;

default()

default(options): OIDCConfig<PingProfile>

Add PingId login to your page.

Documentation


Example

import PingId from "@auth/core/providers/ping-id"
 
...
providers: [
 PingId({
   clientId: AUTH_PING_ID_ID,
   clientSecret: AUTH_PING_ID_SECRET,
   issuer: PING_ID_ISSUER
 })
]
...

Help

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.

Parameters

ParameterType
optionsOIDCUserConfig<PingProfile>

Returns

OIDCConfig<PingProfile>

Auth.js © Balázs Orbán and Team - 2024