mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
fix(ts): allow scope as string array type (#2511)
This commit is contained in:
2
types/providers.d.ts
vendored
2
types/providers.d.ts
vendored
@@ -27,7 +27,7 @@ export interface OAuthConfig<P extends Record<string, unknown> = Profile>
|
||||
headers?: Record<string, any>
|
||||
type: "oauth"
|
||||
version: string
|
||||
scope: string
|
||||
scope: string | string[]
|
||||
params: { grant_type: string }
|
||||
accessTokenUrl: string
|
||||
requestTokenUrl?: string
|
||||
|
||||
Reference in New Issue
Block a user