@mantiq/oauth 0.5.5 → 0.5.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantiq/oauth",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "OAuth 2.0 server — authorization code (PKCE), client credentials, JWT access tokens, scopes",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -63,7 +63,7 @@ export class OAuthServiceProvider extends ServiceProvider {
63
63
  const publicKey = await readFile(server.publicKeyPath, 'utf-8')
64
64
  await signer.loadKeys(privateKey, publicKey)
65
65
  } catch {
66
- // Keys not yet generated oauth:install must be run first
66
+ console.warn('[Mantiq] OAuth RSA keys not found. Run `bun mantiq oauth:install` to generate them.')
67
67
  }
68
68
 
69
69
  // Register 'oauth' guard on AuthManager