@oauth2-cli/qui-cli-plugin 0.2.6 → 0.3.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 CHANGED
@@ -2,6 +2,24 @@
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.3.0](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.2.7...qui-cli-plugin/0.3.0) (2025-12-24)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * resolve 1Password secret references successfully
11
+
12
+ ### Bug Fixes
13
+
14
+ * resolve 1Password secret references successfully ([c4446e1](https://github.com/battis/oauth2-cli/commit/c4446e197a66271dac3ea8d58ff44725cc6be1db))
15
+
16
+ ## [0.2.7](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.2.6...qui-cli-plugin/0.2.7) (2025-12-23)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * remove overriding default redirect_uri ([2268428](https://github.com/battis/oauth2-cli/commit/2268428bf461b3b92301dde9767558ba3ab5f2f5))
22
+
5
23
  ## [0.2.6](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.2.5...qui-cli-plugin/0.2.6) (2025-12-23)
6
24
 
7
25
  ## [0.2.5](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.2.4...qui-cli-plugin/0.2.5) (2025-12-23)
@@ -3,5 +3,5 @@ export declare class EnvironmentStorage implements TokenStorage {
3
3
  private tokenEnvVar;
4
4
  constructor(tokenEnvVar?: string);
5
5
  load(): Promise<Token | undefined>;
6
- save(tokens: Token): Promise<Token>;
6
+ save(tokens: Token): Promise<void>;
7
7
  }
@@ -20,6 +20,5 @@ export class EnvironmentStorage {
20
20
  }
21
21
  async save(tokens) {
22
22
  await Env.set({ key: this.tokenEnvVar, value: JSON.stringify(tokens) });
23
- return tokens;
24
23
  }
25
24
  }
package/dist/OAuth2CLI.js CHANGED
@@ -7,7 +7,6 @@ import * as OAuth2 from 'oauth2-cli';
7
7
  import { EnvironmentStorage } from './EnvironmentStorage.js';
8
8
  export const name = '@oauth2-cli/qui-cli-plugin';
9
9
  const config = {
10
- redirect_uri: 'http://localhost:3000/redirect',
11
10
  env: {
12
11
  client_id: 'CLIENT_ID',
13
12
  client_secret: 'CLIENT_SECRET',
@@ -70,7 +69,7 @@ export function options() {
70
69
  : {
71
70
  redirectUri: {
72
71
  description: `OAuth 2.0 redirect URI (must be to host ${Colors.url('localhost')}, defaults to environment variables ${Colors.value(config.env.redirect_uri)})`,
73
- hint: Colors.quotedValue(`"${config.redirect_uri}"`),
72
+ hint: Colors.quotedValue(`"http://localhost:XXXX/path/to/redirect"`),
74
73
  default: config.redirect_uri
75
74
  }
76
75
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oauth2-cli/qui-cli-plugin",
3
- "version": "0.2.6",
3
+ "version": "0.3.0",
4
4
  "description": "@battis/qui-cli.plugin wrapper for oauth2-cli",
5
5
  "homepage": "https://github.com/battis/oauth2-cli/tree/main/packages/qui-cli-plugin#readme",
6
6
  "repository": {
@@ -17,12 +17,12 @@
17
17
  "types": "./dist/index.d.ts",
18
18
  "dependencies": {
19
19
  "openid-client": "^6.8.1",
20
- "oauth2-cli": "0.2.3"
20
+ "oauth2-cli": "0.3.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@battis/descriptive-types": "^0.2.6",
24
24
  "@qui-cli/colors": "^3.1.1",
25
- "@qui-cli/env-1password": "^1.2.0",
25
+ "@qui-cli/env-1password": "^1.2.2",
26
26
  "@qui-cli/plugin": "^4.0.0",
27
27
  "@qui-cli/root": "^3.0.4",
28
28
  "@tsconfig/node20": "^20.1.8",