@atproto/oauth-types 0.2.8 → 0.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @atproto/oauth-types
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`90b4775fc`](https://github.com/bluesky-social/atproto/commit/90b4775fc9c6959171bc12b961ce9421cc14d6ee), [`90b4775fc`](https://github.com/bluesky-social/atproto/commit/90b4775fc9c6959171bc12b961ce9421cc14d6ee), [`90b4775fc`](https://github.com/bluesky-social/atproto/commit/90b4775fc9c6959171bc12b961ce9421cc14d6ee)]:
8
+ - @atproto/jwk@0.4.0
9
+
10
+ ## 0.3.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [#3847](https://github.com/bluesky-social/atproto/pull/3847) [`349b59175`](https://github.com/bluesky-social/atproto/commit/349b59175e82ceb9500ae7c6a9a0b9b6aec9d1b6) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Change the default client authentication method in the client document metadata to "client_secret_basic" (as per spec)
15
+
16
+ ### Patch Changes
17
+
18
+ - [#3847](https://github.com/bluesky-social/atproto/pull/3847) [`349b59175`](https://github.com/bluesky-social/atproto/commit/349b59175e82ceb9500ae7c6a9a0b9b6aec9d1b6) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Remove invalid default for `code_challenge_method` authorization request parameter
19
+
20
+ - [#3847](https://github.com/bluesky-social/atproto/pull/3847) [`349b59175`](https://github.com/bluesky-social/atproto/commit/349b59175e82ceb9500ae7c6a9a0b9b6aec9d1b6) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Remove schema's `.optional()` modifier when a `.default()` is defined
21
+
22
+ - [#3847](https://github.com/bluesky-social/atproto/pull/3847) [`349b59175`](https://github.com/bluesky-social/atproto/commit/349b59175e82ceb9500ae7c6a9a0b9b6aec9d1b6) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Prevent using `none` as `token_endpoint_auth_signing_alg_values_supported` in authorization server metadata documents.
23
+
24
+ - Updated dependencies [[`349b59175`](https://github.com/bluesky-social/atproto/commit/349b59175e82ceb9500ae7c6a9a0b9b6aec9d1b6)]:
25
+ - @atproto/jwk@0.3.0
26
+
3
27
  ## 0.2.8
4
28
 
5
29
  ### Patch Changes
@@ -6,7 +6,7 @@ export declare const oauthAuthorizationRequestParSchema: z.ZodUnion<[z.ZodObject
6
6
  scope: z.ZodOptional<z.ZodString>;
7
7
  response_type: z.ZodEnum<["code", "token", "none", "code id_token token", "code id_token", "code token", "id_token token", "id_token"]>;
8
8
  code_challenge: z.ZodOptional<z.ZodString>;
9
- code_challenge_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<["S256", "plain"]>>>;
9
+ code_challenge_method: z.ZodOptional<z.ZodEnum<["S256", "plain"]>>;
10
10
  dpop_jkt: z.ZodOptional<z.ZodString>;
11
11
  response_mode: z.ZodOptional<z.ZodEnum<["query", "fragment", "form_post"]>>;
12
12
  nonce: z.ZodOptional<z.ZodString>;
@@ -12,7 +12,7 @@ export declare const oauthAuthorizationRequestParametersSchema: z.ZodObject<{
12
12
  scope: z.ZodOptional<z.ZodString>;
13
13
  response_type: z.ZodEnum<["code", "token", "none", "code id_token token", "code id_token", "code token", "id_token token", "id_token"]>;
14
14
  code_challenge: z.ZodOptional<z.ZodString>;
15
- code_challenge_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<["S256", "plain"]>>>;
15
+ code_challenge_method: z.ZodOptional<z.ZodEnum<["S256", "plain"]>>;
16
16
  dpop_jkt: z.ZodOptional<z.ZodString>;
17
17
  response_mode: z.ZodOptional<z.ZodEnum<["query", "fragment", "form_post"]>>;
18
18
  nonce: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-authorization-request-parameters.d.ts","sourceRoot":"","sources":["../src/oauth-authorization-request-parameters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB;;;;;GAKG;AACH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiEpD;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOH,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,yCAAyC,CACjD,CAAA"}
1
+ {"version":3,"file":"oauth-authorization-request-parameters.d.ts","sourceRoot":"","sources":["../src/oauth-authorization-request-parameters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB;;;;;GAKG;AACH,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgEpD;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOH,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,yCAAyC,CACjD,CAAA"}
@@ -27,10 +27,9 @@ exports.oauthAuthorizationRequestParametersSchema = zod_1.z.object({
27
27
  scope: oauth_scope_js_1.oauthScopeSchema.optional(),
28
28
  response_type: oauth_response_type_js_1.oauthResponseTypeSchema,
29
29
  // PKCE
30
+ // https://datatracker.ietf.org/doc/html/rfc7636#section-4.3
30
31
  code_challenge: zod_1.z.string().optional(),
31
- code_challenge_method: oauth_code_challenge_method_js_1.oauthCodeChallengeMethodSchema
32
- .default('S256')
33
- .optional(),
32
+ code_challenge_method: oauth_code_challenge_method_js_1.oauthCodeChallengeMethodSchema.optional(),
34
33
  // DPOP
35
34
  // https://datatracker.ietf.org/doc/html/rfc9449#section-12.3
36
35
  dpop_jkt: zod_1.z.string().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-authorization-request-parameters.js","sourceRoot":"","sources":["../src/oauth-authorization-request-parameters.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,sCAA8C;AAC9C,qFAAkF;AAClF,6DAA0D;AAC1D,qFAAiF;AACjF,mEAAgE;AAChE,qEAAkE;AAClE,qEAAkE;AAClE,qDAAmD;AACnD,yEAAsE;AACtE,2EAAwE;AACxE,+DAA4D;AAC5D,uCAAkE;AAElE;;;;;GAKG;AACU,QAAA,yCAAyC,GAAG,OAAC,CAAC,MAAM,CAAC;IAChE,SAAS,EAAE,wCAAmB;IAC9B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,YAAY,EAAE,8CAAsB,CAAC,QAAQ,EAAE;IAC/C,KAAK,EAAE,iCAAgB,CAAC,QAAQ,EAAE;IAClC,aAAa,EAAE,gDAAuB;IAEtC,OAAO;IAEP,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,qBAAqB,EAAE,+DAA8B;SAClD,OAAO,CAAC,MAAM,CAAC;SACf,QAAQ,EAAE;IAEb,OAAO;IAEP,6DAA6D;IAC7D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAE/B,OAAO;IAEP,kCAAkC;IAClC,aAAa,EAAE,gDAAuB,CAAC,QAAQ,EAAE;IAEjD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAE5B,0EAA0E;IAC1E,wEAAwE;IACxE,2EAA2E;IAC3E,6EAA6E;IAC7E,4EAA4E;IAC5E,yEAAyE;IACzE,2CAA2C;IAC3C,OAAO,EAAE,OAAC,CAAC,UAAU,CAAC,0BAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAE3E,MAAM,EAAE,OAAC;SACN,UAAU,CACT,8BAAoB,EACpB,OAAC,CAAC,MAAM,CACN,0CAAoB,EACpB,OAAC,CAAC,MAAM,CACN,oDAAyB,EACzB,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,sDAA0B,CAAC,CAAC,CACvD,CACF,CACF;SACA,QAAQ,EAAE;IAEb,8EAA8E;IAC9E,uCAAuC;IACvC,iDAAiD;IAEjD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAExC,UAAU,EAAE,OAAC;SACV,MAAM,EAAE;SACR,KAAK,CAAC,oDAAoD,CAAC,CAAC,cAAc;SAC1E,QAAQ,EAAE;IAEb,iEAAiE;IACjE,aAAa,EAAE,qBAAe,CAAC,QAAQ,EAAE;IAEzC,oCAAoC;IACpC,OAAO,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,EAAE;IAE7D;;;;;OAKG;IACH,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE;IAEzE,gDAAgD;IAChD,qBAAqB,EAAE,OAAC;SACrB,UAAU,CAAC,8BAAoB,EAAE,gEAA+B,CAAC;SACjE,QAAQ,EAAE;CACd,CAAC,CAAA"}
1
+ {"version":3,"file":"oauth-authorization-request-parameters.js","sourceRoot":"","sources":["../src/oauth-authorization-request-parameters.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,sCAA8C;AAC9C,qFAAkF;AAClF,6DAA0D;AAC1D,qFAAiF;AACjF,mEAAgE;AAChE,qEAAkE;AAClE,qEAAkE;AAClE,qDAAmD;AACnD,yEAAsE;AACtE,2EAAwE;AACxE,+DAA4D;AAC5D,uCAAkE;AAElE;;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M,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAExC,UAAU,EAAE,OAAC;SACV,MAAM,EAAE;SACR,KAAK,CAAC,oDAAoD,CAAC,CAAC,cAAc;SAC1E,QAAQ,EAAE;IAEb,iEAAiE;IACjE,aAAa,EAAE,qBAAe,CAAC,QAAQ,EAAE;IAEzC,oCAAoC;IACpC,OAAO,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,EAAE;IAE7D;;;;;OAKG;IACH,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE;IAEzE,gDAAgD;IAChD,qBAAqB,EAAE,OAAC;SACrB,UAAU,CAAC,8BAAoB,EAAE,gEAA+B,CAAC;SACjE,QAAQ,EAAE;CACd,CAAC,CAAA"}
@@ -6,7 +6,7 @@ export declare const oauthAuthorizationRequestQuerySchema: z.ZodUnion<[z.ZodObje
6
6
  scope: z.ZodOptional<z.ZodString>;
7
7
  response_type: z.ZodEnum<["code", "token", "none", "code id_token token", "code id_token", "code token", "id_token token", "id_token"]>;
8
8
  code_challenge: z.ZodOptional<z.ZodString>;
9
- code_challenge_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<["S256", "plain"]>>>;
9
+ code_challenge_method: z.ZodOptional<z.ZodEnum<["S256", "plain"]>>;
10
10
  dpop_jkt: z.ZodOptional<z.ZodString>;
11
11
  response_mode: z.ZodOptional<z.ZodEnum<["query", "fragment", "form_post"]>>;
12
12
  nonce: z.ZodOptional<z.ZodString>;
@@ -30,7 +30,7 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
30
30
  jwks_uri: z.ZodOptional<z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>>;
31
31
  authorization_endpoint: z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>;
32
32
  token_endpoint: z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>;
33
- token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33
+ token_endpoint_auth_methods_supported: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
34
34
  token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35
35
  revocation_endpoint: z.ZodOptional<z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>>;
36
36
  introspection_endpoint: z.ZodOptional<z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>>;
@@ -46,6 +46,7 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
46
46
  issuer: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
47
47
  authorization_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
48
48
  token_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
49
+ token_endpoint_auth_methods_supported: string[];
49
50
  jwks_uri?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
50
51
  claims_supported?: string[] | undefined;
51
52
  claims_locales_supported?: string[] | undefined;
@@ -67,7 +68,6 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
67
68
  authorization_details_types_supported?: string[] | undefined;
68
69
  request_object_encryption_alg_values_supported?: string[] | undefined;
69
70
  request_object_encryption_enc_values_supported?: string[] | undefined;
70
- token_endpoint_auth_methods_supported?: string[] | undefined;
71
71
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
72
72
  revocation_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
73
73
  introspection_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
@@ -118,7 +118,7 @@ export declare const oauthAuthorizationServerMetadataSchema: z.ZodObject<{
118
118
  client_id_metadata_document_supported?: boolean | undefined;
119
119
  }>;
120
120
  export type OAuthAuthorizationServerMetadata = z.infer<typeof oauthAuthorizationServerMetadataSchema>;
121
- export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.ZodEffects<z.ZodObject<{
121
+ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
122
122
  issuer: z.ZodEffects<z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>;
123
123
  claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
124
124
  claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -143,7 +143,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
143
143
  jwks_uri: z.ZodOptional<z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>>;
144
144
  authorization_endpoint: z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>;
145
145
  token_endpoint: z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>;
146
- token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
146
+ token_endpoint_auth_methods_supported: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
147
147
  token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
148
148
  revocation_endpoint: z.ZodOptional<z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>>;
149
149
  introspection_endpoint: z.ZodOptional<z.ZodEffects<z.ZodString, `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`, string>>;
@@ -159,6 +159,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
159
159
  issuer: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
160
160
  authorization_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
161
161
  token_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
162
+ token_endpoint_auth_methods_supported: string[];
162
163
  jwks_uri?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
163
164
  claims_supported?: string[] | undefined;
164
165
  claims_locales_supported?: string[] | undefined;
@@ -180,7 +181,6 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
180
181
  authorization_details_types_supported?: string[] | undefined;
181
182
  request_object_encryption_alg_values_supported?: string[] | undefined;
182
183
  request_object_encryption_enc_values_supported?: string[] | undefined;
183
- token_endpoint_auth_methods_supported?: string[] | undefined;
184
184
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
185
185
  revocation_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
186
186
  introspection_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
@@ -233,6 +233,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
233
233
  issuer: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
234
234
  authorization_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
235
235
  token_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
236
+ token_endpoint_auth_methods_supported: string[];
236
237
  jwks_uri?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
237
238
  claims_supported?: string[] | undefined;
238
239
  claims_locales_supported?: string[] | undefined;
@@ -254,7 +255,6 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
254
255
  authorization_details_types_supported?: string[] | undefined;
255
256
  request_object_encryption_alg_values_supported?: string[] | undefined;
256
257
  request_object_encryption_enc_values_supported?: string[] | undefined;
257
- token_endpoint_auth_methods_supported?: string[] | undefined;
258
258
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
259
259
  revocation_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
260
260
  introspection_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
@@ -307,6 +307,7 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
307
307
  issuer: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
308
308
  authorization_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
309
309
  token_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
310
+ token_endpoint_auth_methods_supported: string[];
310
311
  jwks_uri?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
311
312
  claims_supported?: string[] | undefined;
312
313
  claims_locales_supported?: string[] | undefined;
@@ -328,8 +329,81 @@ export declare const oauthAuthorizationServerMetadataValidator: z.ZodEffects<z.Z
328
329
  authorization_details_types_supported?: string[] | undefined;
329
330
  request_object_encryption_alg_values_supported?: string[] | undefined;
330
331
  request_object_encryption_enc_values_supported?: string[] | undefined;
332
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
333
+ revocation_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
334
+ introspection_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
335
+ pushed_authorization_request_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
336
+ require_pushed_authorization_requests?: boolean | undefined;
337
+ userinfo_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
338
+ end_session_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
339
+ registration_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
340
+ dpop_signing_alg_values_supported?: string[] | undefined;
341
+ protected_resources?: (`http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`)[] | undefined;
342
+ client_id_metadata_document_supported?: boolean | undefined;
343
+ }, {
344
+ issuer: string;
345
+ authorization_endpoint: string;
346
+ token_endpoint: string;
347
+ jwks_uri?: string | undefined;
348
+ claims_supported?: string[] | undefined;
349
+ claims_locales_supported?: string[] | undefined;
350
+ claims_parameter_supported?: boolean | undefined;
351
+ request_parameter_supported?: boolean | undefined;
352
+ request_uri_parameter_supported?: boolean | undefined;
353
+ require_request_uri_registration?: boolean | undefined;
354
+ scopes_supported?: string[] | undefined;
355
+ subject_types_supported?: string[] | undefined;
356
+ response_types_supported?: string[] | undefined;
357
+ response_modes_supported?: string[] | undefined;
358
+ grant_types_supported?: string[] | undefined;
359
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
360
+ ui_locales_supported?: string[] | undefined;
361
+ id_token_signing_alg_values_supported?: string[] | undefined;
362
+ display_values_supported?: string[] | undefined;
363
+ request_object_signing_alg_values_supported?: string[] | undefined;
364
+ authorization_response_iss_parameter_supported?: boolean | undefined;
365
+ authorization_details_types_supported?: string[] | undefined;
366
+ request_object_encryption_alg_values_supported?: string[] | undefined;
367
+ request_object_encryption_enc_values_supported?: string[] | undefined;
331
368
  token_endpoint_auth_methods_supported?: string[] | undefined;
332
369
  token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
370
+ revocation_endpoint?: string | undefined;
371
+ introspection_endpoint?: string | undefined;
372
+ pushed_authorization_request_endpoint?: string | undefined;
373
+ require_pushed_authorization_requests?: boolean | undefined;
374
+ userinfo_endpoint?: string | undefined;
375
+ end_session_endpoint?: string | undefined;
376
+ registration_endpoint?: string | undefined;
377
+ dpop_signing_alg_values_supported?: string[] | undefined;
378
+ protected_resources?: string[] | undefined;
379
+ client_id_metadata_document_supported?: boolean | undefined;
380
+ }>, {
381
+ issuer: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
382
+ authorization_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
383
+ token_endpoint: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}`;
384
+ token_endpoint_auth_methods_supported: string[];
385
+ jwks_uri?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
386
+ claims_supported?: string[] | undefined;
387
+ claims_locales_supported?: string[] | undefined;
388
+ claims_parameter_supported?: boolean | undefined;
389
+ request_parameter_supported?: boolean | undefined;
390
+ request_uri_parameter_supported?: boolean | undefined;
391
+ require_request_uri_registration?: boolean | undefined;
392
+ scopes_supported?: string[] | undefined;
393
+ subject_types_supported?: string[] | undefined;
394
+ response_types_supported?: string[] | undefined;
395
+ response_modes_supported?: string[] | undefined;
396
+ grant_types_supported?: string[] | undefined;
397
+ code_challenge_methods_supported?: ("S256" | "plain")[] | undefined;
398
+ ui_locales_supported?: string[] | undefined;
399
+ id_token_signing_alg_values_supported?: string[] | undefined;
400
+ display_values_supported?: string[] | undefined;
401
+ request_object_signing_alg_values_supported?: string[] | undefined;
402
+ authorization_response_iss_parameter_supported?: boolean | undefined;
403
+ authorization_details_types_supported?: string[] | undefined;
404
+ request_object_encryption_alg_values_supported?: string[] | undefined;
405
+ request_object_encryption_enc_values_supported?: string[] | undefined;
406
+ token_endpoint_auth_signing_alg_values_supported?: string[] | undefined;
333
407
  revocation_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
334
408
  introspection_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
335
409
  pushed_authorization_request_endpoint?: `http://[::1]${string}` | "http://localhost" | `http://localhost#${string}` | `http://localhost?${string}` | `http://localhost/${string}` | `http://localhost:${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-authorization-server-metadata.d.ts","sourceRoot":"","sources":["../src/oauth-authorization-server-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB;;;;;GAKG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2DjD,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBhD,CAAA"}
1
+ {"version":3,"file":"oauth-authorization-server-metadata.d.ts","sourceRoot":"","sources":["../src/oauth-authorization-server-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB;;;;;GAKG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DjD,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmChD,CAAA"}
@@ -43,7 +43,11 @@ exports.oauthAuthorizationServerMetadataSchema = zod_1.z.object({
43
43
  jwks_uri: uri_js_1.webUriSchema.optional(),
44
44
  authorization_endpoint: uri_js_1.webUriSchema, // .optional(),
45
45
  token_endpoint: uri_js_1.webUriSchema, // .optional(),
46
- token_endpoint_auth_methods_supported: zod_1.z.array(zod_1.z.string()).optional(),
46
+ // https://www.rfc-editor.org/rfc/rfc8414.html#section-2
47
+ token_endpoint_auth_methods_supported: zod_1.z
48
+ .array(zod_1.z.string())
49
+ // > If omitted, the default is "client_secret_basic" [...].
50
+ .default(['client_secret_basic']),
47
51
  token_endpoint_auth_signing_alg_values_supported: zod_1.z
48
52
  .array(zod_1.z.string())
49
53
  .optional(),
@@ -80,5 +84,15 @@ exports.oauthAuthorizationServerMetadataValidator = exports.oauthAuthorizationSe
80
84
  });
81
85
  }
82
86
  }
87
+ })
88
+ .superRefine((data, ctx) => {
89
+ if (data.token_endpoint_auth_signing_alg_values_supported?.includes('none')) {
90
+ // https://openid.net/specs/openid-connect-discovery-1_0.html#rfc.section.3
91
+ // > The value `none` MUST NOT be used.
92
+ ctx.addIssue({
93
+ code: zod_1.z.ZodIssueCode.custom,
94
+ message: 'Client authentication method "none" is not allowed',
95
+ });
96
+ }
83
97
  });
84
98
  //# sourceMappingURL=oauth-authorization-server-metadata.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-authorization-server-metadata.js","sourceRoot":"","sources":["../src/oauth-authorization-server-metadata.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,qFAAiF;AACjF,6EAA0E;AAC1E,qCAAuC;AAEvC;;;;;GAKG;AACU,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7D,MAAM,EAAE,wDAA2B;IAEnC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,wBAAwB,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxD,0BAA0B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClD,2BAA2B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnD,+BAA+B,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACvD,g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AC3C,CAAC;QACD,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EACL,uGAAuG;SAC1G,CAAC,CAAA;IACJ,CAAC;AACH,CAAC,CAAC;KACD,WAAW,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACzB,IAAI,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;YACpD,GAAG,CAAC,QAAQ,CAAC;gBACX,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;gBAC3B,OAAO,EAAE,kCAAkC;aAC5C,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;AACH,CAAC,CAAC;KACD,WAAW,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACzB,IACE,IAAI,CAAC,gDAAgD,EAAE,QAAQ,CAAC,MAAM,CAAC,EACvE,CAAC;QACD,2EAA2E;QAC3E,uCAAuC;QACvC,GAAG,CAAC,QAAQ,CAAC;YACX,IAAI,EAAE,OAAC,CAAC,YAAY,CAAC,MAAM;YAC3B,OAAO,EAAE,oDAAoD;SAC9D,CAAC,CAAA;IACJ,CAAC;AACH,CAAC,CAAC,CAAA"}
@@ -14,7 +14,7 @@ export declare const oauthClientMetadataSchema: z.ZodObject<{
14
14
  response_types: z.ZodDefault<z.ZodArray<z.ZodEnum<["code", "token", "none", "code id_token token", "code id_token", "code token", "id_token token", "id_token"]>, "atleastone">>;
15
15
  grant_types: z.ZodDefault<z.ZodArray<z.ZodEnum<["authorization_code", "implicit", "refresh_token", "password", "client_credentials", "urn:ietf:params:oauth:grant-type:jwt-bearer", "urn:ietf:params:oauth:grant-type:saml2-bearer"]>, "atleastone">>;
16
16
  scope: z.ZodOptional<z.ZodString>;
17
- token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<["client_secret_basic", "client_secret_jwt", "client_secret_post", "none", "private_key_jwt", "self_signed_tls_client_auth", "tls_client_auth"]>>>;
17
+ token_endpoint_auth_method: z.ZodDefault<z.ZodEnum<["client_secret_basic", "client_secret_jwt", "client_secret_post", "none", "private_key_jwt", "self_signed_tls_client_auth", "tls_client_auth"]>>;
18
18
  token_endpoint_auth_signing_alg: z.ZodOptional<z.ZodString>;
19
19
  userinfo_signed_response_alg: z.ZodOptional<z.ZodString>;
20
20
  userinfo_encrypted_response_alg: z.ZodOptional<z.ZodString>;
@@ -1282,11 +1282,11 @@ export declare const oauthClientMetadataSchema: z.ZodObject<{
1282
1282
  x5u?: string | undefined;
1283
1283
  })[];
1284
1284
  }>>;
1285
- application_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["web", "native"]>>>;
1286
- subject_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "pairwise"]>>>;
1285
+ application_type: z.ZodDefault<z.ZodEnum<["web", "native"]>>;
1286
+ subject_type: z.ZodDefault<z.ZodEnum<["public", "pairwise"]>>;
1287
1287
  request_object_signing_alg: z.ZodOptional<z.ZodString>;
1288
1288
  id_token_signed_response_alg: z.ZodOptional<z.ZodString>;
1289
- authorization_signed_response_alg: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1289
+ authorization_signed_response_alg: z.ZodDefault<z.ZodString>;
1290
1290
  authorization_encrypted_response_enc: z.ZodOptional<z.ZodEnum<["A128CBC-HS256"]>>;
1291
1291
  authorization_encrypted_response_alg: z.ZodOptional<z.ZodString>;
1292
1292
  client_id: z.ZodOptional<z.ZodString>;
@@ -1312,8 +1312,11 @@ export declare const oauthClientMetadataSchema: z.ZodObject<{
1312
1312
  redirect_uris: [`http://[::1]${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | `${string}.${string}:/${string}`, ...(`http://[::1]${string}` | "http://127.0.0.1" | `http://127.0.0.1#${string}` | `http://127.0.0.1?${string}` | `http://127.0.0.1/${string}` | `http://127.0.0.1:${string}` | `https://${string}` | `${string}.${string}:/${string}`)[]];
1313
1313
  response_types: ["code" | "none" | "token" | "code id_token token" | "code id_token" | "code token" | "id_token token" | "id_token", ...("code" | "none" | "token" | "code id_token token" | "code id_token" | "code token" | "id_token token" | "id_token")[]];
1314
1314
  grant_types: ["authorization_code" | "implicit" | "refresh_token" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer", ...("authorization_code" | "implicit" | "refresh_token" | "password" | "client_credentials" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:saml2-bearer")[]];
1315
+ token_endpoint_auth_method: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth";
1316
+ application_type: "web" | "native";
1317
+ subject_type: "public" | "pairwise";
1318
+ authorization_signed_response_alg: string;
1315
1319
  scope?: string | undefined;
1316
- token_endpoint_auth_method?: "client_secret_basic" | "client_secret_jwt" | "client_secret_post" | "none" | "private_key_jwt" | "self_signed_tls_client_auth" | "tls_client_auth" | undefined;
1317
1320
  token_endpoint_auth_signing_alg?: string | undefined;
1318
1321
  userinfo_signed_response_alg?: string | undefined;
1319
1322
  userinfo_encrypted_response_alg?: string | undefined;
@@ -1416,11 +1419,8 @@ export declare const oauthClientMetadataSchema: z.ZodObject<{
1416
1419
  x5u?: string | undefined;
1417
1420
  })[];
1418
1421
  } | undefined;
1419
- application_type?: "web" | "native" | undefined;
1420
- subject_type?: "public" | "pairwise" | undefined;
1421
1422
  request_object_signing_alg?: string | undefined;
1422
1423
  id_token_signed_response_alg?: string | undefined;
1423
- authorization_signed_response_alg?: string | undefined;
1424
1424
  authorization_encrypted_response_enc?: "A128CBC-HS256" | undefined;
1425
1425
  authorization_encrypted_response_alg?: string | undefined;
1426
1426
  client_id?: string | undefined;
@@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C;eAAsD,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;aAA+B,CAAC;;;;;;eAA8H,CAAC;eAAmC,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;aAA+B,CAAC;;;;;eAAoH,CAAC;eAAkC,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;aAA+B,CAAC;;;;eAAkF,CAAC;eAAsD,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;;;eAAgE,CAAC;eAAiC,CAAC;eAAiC,CAAC;eAAkC,CAAC;mBAA4C,CAAC;eAA+H,CAAC;eAAmC,CAAC;sBAAwC,CAAC;eAAiC,CAAC;;;;;;;;;;;;;;;;;;;;;;EAJpngE,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAC3E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
@@ -21,6 +21,7 @@ exports.oauthClientMetadataSchema = zod_1.z.object({
21
21
  /**
22
22
  * @note redirect_uris require additional validation
23
23
  */
24
+ // https://www.rfc-editor.org/rfc/rfc7591.html#section-2
24
25
  redirect_uris: zod_1.z.array(oauth_redirect_uri_js_1.oauthRedirectUriSchema).nonempty(),
25
26
  response_types: zod_1.z
26
27
  .array(oauth_response_type_js_1.oauthResponseTypeSchema)
@@ -35,19 +36,20 @@ exports.oauthClientMetadataSchema = zod_1.z.object({
35
36
  // > "authorization_code" Grant Type.
36
37
  .default(['authorization_code']),
37
38
  scope: oauth_scope_js_1.oauthScopeSchema.optional(),
39
+ // https://www.rfc-editor.org/rfc/rfc7591.html#section-2
38
40
  token_endpoint_auth_method: oauth_endpoint_auth_method_js_1.oauthEndpointAuthMethod
39
- .default('none')
40
- .optional(),
41
+ // > If unspecified or omitted, the default is "client_secret_basic" [...].
42
+ .default('client_secret_basic'),
41
43
  token_endpoint_auth_signing_alg: zod_1.z.string().optional(),
42
44
  userinfo_signed_response_alg: zod_1.z.string().optional(),
43
45
  userinfo_encrypted_response_alg: zod_1.z.string().optional(),
44
46
  jwks_uri: uri_js_1.webUriSchema.optional(),
45
47
  jwks: jwk_1.jwksPubSchema.optional(),
46
- application_type: zod_1.z.enum(['web', 'native']).default('web').optional(), // default, per spec, is "web"
47
- subject_type: zod_1.z.enum(['public', 'pairwise']).default('public').optional(),
48
+ application_type: zod_1.z.enum(['web', 'native']).default('web'), // default, per spec, is "web"
49
+ subject_type: zod_1.z.enum(['public', 'pairwise']).default('public'),
48
50
  request_object_signing_alg: zod_1.z.string().optional(),
49
51
  id_token_signed_response_alg: zod_1.z.string().optional(),
50
- authorization_signed_response_alg: zod_1.z.string().default('RS256').optional(),
52
+ authorization_signed_response_alg: zod_1.z.string().default('RS256'),
51
53
  authorization_encrypted_response_enc: zod_1.z.enum(['A128CBC-HS256']).optional(),
52
54
  authorization_encrypted_response_alg: zod_1.z.string().optional(),
53
55
  client_id: oauth_client_id_js_1.oauthClientIdSchema.optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-client-metadata.js","sourceRoot":"","sources":["../src/oauth-client-metadata.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,sCAA4C;AAC5C,6DAA0D;AAC1D,mFAAyE;AACzE,+DAA4D;AAC5D,mEAAgE;AAChE,qEAAkE;AAClE,qDAAmD;AACnD,qCAAuC;AAEvC;;;;;;GAMG;AACU,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD;;OAEG;IACH,aAAa,EAAE,OAAC,CAAC,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ACnD,iCAAiC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC;IAC9D,oCAAoC,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC1E,oCAAoC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3D,SAAS,EAAE,wCAAmB,CAAC,QAAQ,EAAE;IACzC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,qBAAY,CAAC,QAAQ,EAAE;IACnC,UAAU,EAAE,qBAAY,CAAC,QAAQ,EAAE;IACnC,OAAO,EAAE,qBAAY,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,qBAAY,CAAC,QAAQ,EAAE,EAAE,2BAA2B;IAE9D;;;;;;OAMG;IACH,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACzC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,0CAA0C,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAElE,4DAA4D;IAC5D,wBAAwB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAEhD,6DAA6D;IAC7D,2BAA2B,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/oauth-types",
3
- "version": "0.2.8",
3
+ "version": "0.3.1",
4
4
  "license": "MIT",
5
5
  "description": "OAuth typing & validation library",
6
6
  "keywords": [
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "zod": "^3.23.8",
29
- "@atproto/jwk": "0.2.0"
29
+ "@atproto/jwk": "0.4.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "typescript": "^5.6.3"
@@ -27,10 +27,9 @@ export const oauthAuthorizationRequestParametersSchema = z.object({
27
27
 
28
28
  // PKCE
29
29
 
30
+ // https://datatracker.ietf.org/doc/html/rfc7636#section-4.3
30
31
  code_challenge: z.string().optional(),
31
- code_challenge_method: oauthCodeChallengeMethodSchema
32
- .default('S256')
33
- .optional(),
32
+ code_challenge_method: oauthCodeChallengeMethodSchema.optional(),
34
33
 
35
34
  // DPOP
36
35
 
@@ -45,7 +45,11 @@ export const oauthAuthorizationServerMetadataSchema = z.object({
45
45
  authorization_endpoint: webUriSchema, // .optional(),
46
46
 
47
47
  token_endpoint: webUriSchema, // .optional(),
48
- token_endpoint_auth_methods_supported: z.array(z.string()).optional(),
48
+ // https://www.rfc-editor.org/rfc/rfc8414.html#section-2
49
+ token_endpoint_auth_methods_supported: z
50
+ .array(z.string())
51
+ // > If omitted, the default is "client_secret_basic" [...].
52
+ .default(['client_secret_basic']),
49
53
  token_endpoint_auth_signing_alg_values_supported: z
50
54
  .array(z.string())
51
55
  .optional(),
@@ -98,3 +102,15 @@ export const oauthAuthorizationServerMetadataValidator =
98
102
  }
99
103
  }
100
104
  })
105
+ .superRefine((data, ctx) => {
106
+ if (
107
+ data.token_endpoint_auth_signing_alg_values_supported?.includes('none')
108
+ ) {
109
+ // https://openid.net/specs/openid-connect-discovery-1_0.html#rfc.section.3
110
+ // > The value `none` MUST NOT be used.
111
+ ctx.addIssue({
112
+ code: z.ZodIssueCode.custom,
113
+ message: 'Client authentication method "none" is not allowed',
114
+ })
115
+ }
116
+ })
@@ -19,6 +19,7 @@ export const oauthClientMetadataSchema = z.object({
19
19
  /**
20
20
  * @note redirect_uris require additional validation
21
21
  */
22
+ // https://www.rfc-editor.org/rfc/rfc7591.html#section-2
22
23
  redirect_uris: z.array(oauthRedirectUriSchema).nonempty(),
23
24
  response_types: z
24
25
  .array(oauthResponseTypeSchema)
@@ -33,19 +34,20 @@ export const oauthClientMetadataSchema = z.object({
33
34
  // > "authorization_code" Grant Type.
34
35
  .default(['authorization_code']),
35
36
  scope: oauthScopeSchema.optional(),
37
+ // https://www.rfc-editor.org/rfc/rfc7591.html#section-2
36
38
  token_endpoint_auth_method: oauthEndpointAuthMethod
37
- .default('none')
38
- .optional(),
39
+ // > If unspecified or omitted, the default is "client_secret_basic" [...].
40
+ .default('client_secret_basic'),
39
41
  token_endpoint_auth_signing_alg: z.string().optional(),
40
42
  userinfo_signed_response_alg: z.string().optional(),
41
43
  userinfo_encrypted_response_alg: z.string().optional(),
42
44
  jwks_uri: webUriSchema.optional(),
43
45
  jwks: jwksPubSchema.optional(),
44
- application_type: z.enum(['web', 'native']).default('web').optional(), // default, per spec, is "web"
45
- subject_type: z.enum(['public', 'pairwise']).default('public').optional(),
46
+ application_type: z.enum(['web', 'native']).default('web'), // default, per spec, is "web"
47
+ subject_type: z.enum(['public', 'pairwise']).default('public'),
46
48
  request_object_signing_alg: z.string().optional(),
47
49
  id_token_signed_response_alg: z.string().optional(),
48
- authorization_signed_response_alg: z.string().default('RS256').optional(),
50
+ authorization_signed_response_alg: z.string().default('RS256'),
49
51
  authorization_encrypted_response_enc: z.enum(['A128CBC-HS256']).optional(),
50
52
  authorization_encrypted_response_alg: z.string().optional(),
51
53
  client_id: oauthClientIdSchema.optional(),