@vibe-assurance/cli 1.7.5 → 1.7.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": "@vibe-assurance/cli",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "Vibe Assurance CLI - Connect AI coding agents to your governance platform via MCP",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -71,13 +71,15 @@ async function login() {
71
71
  const refreshToken = url.searchParams.get('refresh_token');
72
72
  const expiresIn = url.searchParams.get('expires_in');
73
73
  const error = url.searchParams.get('error');
74
+ const errorDescription = url.searchParams.get('error_description');
74
75
 
75
76
  if (error) {
76
- // Authentication failed
77
+ // Authentication failed - use description if available
78
+ const errorMessage = errorDescription || error;
77
79
  res.writeHead(400, { 'Content-Type': 'text/html' });
78
- res.end(getErrorHtml(error));
80
+ res.end(getErrorHtml(errorMessage));
79
81
  server.close();
80
- reject(new Error(error));
82
+ reject(new Error(errorMessage));
81
83
  return;
82
84
  }
83
85