You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 97a2142
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: ee/apps/gateway/src/gateway.ts
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -874,11 +874,13 @@ export function registerGatewayRoutes(api: Hono<GatewayEnv>, input: GatewayRoute
874
874
constresponse=gatewayError(
875
875
401,
876
876
"openwork_auth_required",
877
-
`Connect your ${provider.provider_id} account in OpenWork to use this provider (${credential.reason==="missing" ? "no credential" : `credential ${credential.reason}`}).`,
877
+
credential.googleReason==="invalid_rapt" ? "Google requires you to sign in again. Reconnect your Vertex account in My Library."
878
+
: credential.googleReason==="invalid_grant" ? "Google no longer accepts this sign-in. Reconnect your Vertex account in My Library."
879
+
: `Connect your ${provider.provider_id} account in OpenWork to use this provider (${credential.reason==="missing" ? "no credential" : `credential ${credential.reason}`}).`,
constclient=resolved.family==="microsoft_foundry"||liteLlmEntraScope(provider)!==null ? "Microsoft Entra ID app registration (check that its client secret has not expired)" : "Google OAuth client"
0 commit comments