@idp.global/interfaces 3.0.0 → 4.0.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/changelog.md +8 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/data/oidc.d.ts +3 -3
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/data/oidc.ts +3 -3
package/changelog.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-06-21 - 4.0.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- require PKCE parameters for OIDC authorization code flow (oidc)
|
|
8
|
+
- Make code_challenge and code_challenge_method mandatory on authorization requests
|
|
9
|
+
- Make code_verifier mandatory on authorization code token requests
|
|
10
|
+
|
|
3
11
|
## 2026-06-21 - 3.0.0
|
|
4
12
|
|
|
5
13
|
### Breaking Changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@idp.global/interfaces',
|
|
6
|
-
version: '
|
|
6
|
+
version: '4.0.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
package/dist_ts/data/oidc.d.ts
CHANGED
|
@@ -218,8 +218,8 @@ export interface IAuthorizationRequest {
|
|
|
218
218
|
response_type: 'code';
|
|
219
219
|
scope: string;
|
|
220
220
|
state: string;
|
|
221
|
-
code_challenge
|
|
222
|
-
code_challenge_method
|
|
221
|
+
code_challenge: string;
|
|
222
|
+
code_challenge_method: 'S256';
|
|
223
223
|
nonce?: string;
|
|
224
224
|
prompt?: 'none' | 'login' | 'consent';
|
|
225
225
|
}
|
|
@@ -232,7 +232,7 @@ export interface ITokenRequestAuthCode {
|
|
|
232
232
|
redirect_uri: string;
|
|
233
233
|
client_id: string;
|
|
234
234
|
client_secret?: string;
|
|
235
|
-
code_verifier
|
|
235
|
+
code_verifier: string;
|
|
236
236
|
}
|
|
237
237
|
/**
|
|
238
238
|
* Token request for refresh_token grant
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/oidc.ts
CHANGED
|
@@ -248,8 +248,8 @@ export interface IAuthorizationRequest {
|
|
|
248
248
|
response_type: 'code';
|
|
249
249
|
scope: string;
|
|
250
250
|
state: string;
|
|
251
|
-
code_challenge
|
|
252
|
-
code_challenge_method
|
|
251
|
+
code_challenge: string;
|
|
252
|
+
code_challenge_method: 'S256';
|
|
253
253
|
nonce?: string;
|
|
254
254
|
prompt?: 'none' | 'login' | 'consent';
|
|
255
255
|
}
|
|
@@ -263,7 +263,7 @@ export interface ITokenRequestAuthCode {
|
|
|
263
263
|
redirect_uri: string;
|
|
264
264
|
client_id: string;
|
|
265
265
|
client_secret?: string;
|
|
266
|
-
code_verifier
|
|
266
|
+
code_verifier: string;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
/**
|