@supabase/auth-js 2.108.3-canary.1 → 2.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main/lib/types.d.ts +24 -0
- package/dist/main/lib/types.d.ts.map +1 -1
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.d.ts.map +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/main/lib/version.js.map +1 -1
- package/dist/module/lib/types.d.ts +24 -0
- package/dist/module/lib/types.d.ts.map +1 -1
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.d.ts.map +1 -1
- package/dist/module/lib/version.js +1 -1
- package/dist/module/lib/version.js.map +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/lib/types.ts +24 -0
- package/src/lib/version.ts +1 -1
package/package.json
CHANGED
package/src/lib/types.ts
CHANGED
|
@@ -2250,6 +2250,14 @@ export type CustomOAuthProvider = {
|
|
|
2250
2250
|
acceptable_client_ids?: string[]
|
|
2251
2251
|
/** OAuth scopes requested during authorization */
|
|
2252
2252
|
scopes?: string[]
|
|
2253
|
+
/**
|
|
2254
|
+
* Allowlist of raw identity provider claim keys to copy verbatim into the
|
|
2255
|
+
* user's `custom_claims` field (within `identity_data` and
|
|
2256
|
+
* `raw_user_meta_data`), e.g. `["groups", "org_id", "mail"]`. This is an
|
|
2257
|
+
* opt-in allowlist that defaults to empty (no claims captured) and operates
|
|
2258
|
+
* independently from `attribute_mapping`.
|
|
2259
|
+
*/
|
|
2260
|
+
custom_claims_allowlist?: string[]
|
|
2253
2261
|
/** Whether PKCE is enabled */
|
|
2254
2262
|
pkce_enabled?: boolean
|
|
2255
2263
|
/** Mapping of provider attributes to Supabase user attributes */
|
|
@@ -2300,6 +2308,14 @@ export type CreateCustomProviderParams = {
|
|
|
2300
2308
|
acceptable_client_ids?: string[]
|
|
2301
2309
|
/** OAuth scopes requested during authorization */
|
|
2302
2310
|
scopes?: string[]
|
|
2311
|
+
/**
|
|
2312
|
+
* Allowlist of raw identity provider claim keys to copy verbatim into the
|
|
2313
|
+
* user's `custom_claims` field (within `identity_data` and
|
|
2314
|
+
* `raw_user_meta_data`), e.g. `["groups", "org_id", "mail"]`. This is an
|
|
2315
|
+
* opt-in allowlist that defaults to empty (no claims captured) and operates
|
|
2316
|
+
* independently from `attribute_mapping`.
|
|
2317
|
+
*/
|
|
2318
|
+
custom_claims_allowlist?: string[]
|
|
2303
2319
|
/** Whether PKCE is enabled */
|
|
2304
2320
|
pkce_enabled?: boolean
|
|
2305
2321
|
/** Mapping of provider attributes to Supabase user attributes */
|
|
@@ -2342,6 +2358,14 @@ export type UpdateCustomProviderParams = {
|
|
|
2342
2358
|
acceptable_client_ids?: string[]
|
|
2343
2359
|
/** OAuth scopes requested during authorization */
|
|
2344
2360
|
scopes?: string[]
|
|
2361
|
+
/**
|
|
2362
|
+
* Allowlist of raw identity provider claim keys to copy verbatim into the
|
|
2363
|
+
* user's `custom_claims` field (within `identity_data` and
|
|
2364
|
+
* `raw_user_meta_data`), e.g. `["groups", "org_id", "mail"]`. This is an
|
|
2365
|
+
* opt-in allowlist that defaults to empty (no claims captured) and operates
|
|
2366
|
+
* independently from `attribute_mapping`.
|
|
2367
|
+
*/
|
|
2368
|
+
custom_claims_allowlist?: string[]
|
|
2345
2369
|
/** Whether PKCE is enabled */
|
|
2346
2370
|
pkce_enabled?: boolean
|
|
2347
2371
|
/** Mapping of provider attributes to Supabase user attributes */
|
package/src/lib/version.ts
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
// - Debugging and support (identifying which version is running)
|
|
5
5
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
6
6
|
// - Ensuring build artifacts match the published package version
|
|
7
|
-
export const version = '2.
|
|
7
|
+
export const version = '2.109.0'
|