We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3d58a9 commit 7a42e29Copy full SHA for 7a42e29
apps/sim/lib/auth/hybrid.ts
@@ -154,7 +154,7 @@ export async function checkSessionOrInternalAuth(
154
155
return {
156
success: false,
157
- error: 'Authentication required - provide session or internal JWT',
+ error: 'Unauthorized',
158
}
159
} catch (error) {
160
logger.error('Error in session/internal authentication:', error)
@@ -225,7 +225,7 @@ export async function checkHybridAuth(
225
// No authentication found
226
227
228
- error: 'Authentication required - provide session, API key, or internal JWT',
229
230
231
logger.error('Error in hybrid authentication:', error)
0 commit comments