providers/paybin
PaybinProfile
The returned user profile from Paybin when using the profile callback. Reference
Extends
- Record<- string,- any>
Indexable
[key: string]: any
Properties
email: string;The user’s email address.
email_verified?
optional email_verified: boolean;Indicates whether the user has verified their email address.
family_name?
optional family_name: string;The user’s family name.
given_name?
optional given_name: string;The user’s given name.
name?
optional name: string;The user’s full name.
picture?
optional picture: string;URL pointing to the user’s profile picture.
preferred_username?
optional preferred_username: string;The user’s username.
sub
sub: string;The user’s unique identifier.
default()
function default<P>(options): OIDCConfig<P>Setup
Callback URL
https://example.com/api/auth/callback/paybinConfiguration
import { Auth } from "@auth/core"
import Paybin from "@auth/core/providers/paybin"
 
const request = new Request(origin)
const response = await Auth(request, {
  providers: [
    Paybin({
      clientId: PAYBIN_CLIENT_ID,
      clientSecret: PAYBIN_CLIENT_SECRET,
    }),
  ],
})Resources
Notes
By default, Auth.js assumes that the Paybin provider is based on the Open ID Connect specification.
The Paybin provider comes with a default configuration. To override the defaults for your use case, check out customizing a built-in OAuth provider.
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.
Type Parameters
| Type Parameter | 
|---|
| PextendsPaybinProfile | 
Parameters
| Parameter | Type | 
|---|---|
| options | OIDCUserConfig<P> | 
Returns
OIDCConfig<P>