@oauth2-cli/qui-cli 0.7.15 → 0.7.16
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 +7 -0
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +0 -16
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.7.16](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.7.15...qui-cli-plugin/0.7.16) (2026-02-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* removing potential source of authorization failure ([15d7d89](https://github.com/battis/oauth2-cli/commit/15d7d8980337df3f66afa8398b3cccb1fc6b56b6))
|
|
11
|
+
|
|
5
12
|
## [0.7.15](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.7.14...qui-cli-plugin/0.7.15) (2026-02-19)
|
|
6
13
|
|
|
7
14
|
|
package/dist/Client.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { JSONValue } from '@battis/typescript-tricks';
|
|
2
|
-
import { Request } from 'express';
|
|
3
2
|
import * as OAuth2CLI from 'oauth2-cli';
|
|
4
|
-
import { Session } from 'oauth2-cli/dist/Session.js';
|
|
5
3
|
import type * as OpenIDClient from 'openid-client';
|
|
6
4
|
import * as requestish from 'requestish';
|
|
7
5
|
export declare class Client<C extends OAuth2CLI.Credentials = OAuth2CLI.Credentials> extends OAuth2CLI.Client<C> {
|
|
8
6
|
getConfiguration(): Promise<OpenIDClient.Configuration>;
|
|
9
7
|
authorize(): Promise<OAuth2CLI.Token.Response>;
|
|
10
|
-
handleAuthorizationCodeRedirect(request: Request, session: Session): Promise<void>;
|
|
11
8
|
protected refreshTokenGrant(token: OAuth2CLI.Token.Response): Promise<OAuth2CLI.Token.Response | undefined>;
|
|
12
9
|
request(url: requestish.URL.ish, method?: string, body?: OpenIDClient.FetchBody, headers?: requestish.Headers.ish, dPoPOptions?: OpenIDClient.DPoPOptions): Promise<Response>;
|
|
13
10
|
requestJSON<J extends JSONValue = JSONValue>(url: requestish.URL.ish, method?: string, body?: OpenIDClient.FetchBody, headers?: requestish.Headers.ish, dPoPOptions?: OpenIDClient.DPoPOptions): Promise<J>;
|
package/dist/Client.js
CHANGED
|
@@ -21,22 +21,6 @@ export class Client extends OAuth2CLI.Client {
|
|
|
21
21
|
Log.debug(`Authorized ${this.clientName()} new access token`, { response });
|
|
22
22
|
return response;
|
|
23
23
|
}
|
|
24
|
-
async handleAuthorizationCodeRedirect(request, session) {
|
|
25
|
-
Log.debug(`Handling ${this.clientName()} Authorization Code flow redirect`, {
|
|
26
|
-
request: {
|
|
27
|
-
url: request.url,
|
|
28
|
-
method: request.method,
|
|
29
|
-
headers: request.headers,
|
|
30
|
-
body: request.body
|
|
31
|
-
},
|
|
32
|
-
session: {
|
|
33
|
-
code_verifier: session.code_verifier,
|
|
34
|
-
state: session.state,
|
|
35
|
-
inject: session.inject
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
return super.handleAuthorizationCodeRedirect(request, session);
|
|
39
|
-
}
|
|
40
24
|
async refreshTokenGrant(token) {
|
|
41
25
|
Log.debug(`Refreshing expired ${this.clientName()} access token`, {
|
|
42
26
|
token
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oauth2-cli/qui-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.16",
|
|
4
4
|
"description": "@qui-cli/plugin wrapper for oauth2-cli",
|
|
5
5
|
"homepage": "https://github.com/battis/oauth2-cli/tree/main/packages/qui-cli#readme",
|
|
6
6
|
"repository": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"types": "./dist/index.d.ts",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@qui-cli/colors": "^3.2.3",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"requestish": "0.1.1",
|
|
21
|
+
"oauth2-cli": "0.8.9"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@battis/descriptive-types": "^0.2.6",
|