Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
check verified
Thiago Araujo da Silva27791a5e3160
diff --git a/backend/src/services/oauth-client/oauth-client-service.ts b/backend/src/services/oauth-client/oauth-client-service.tsindex 49deb1519b..e7c6a25ea9 100644--- a/backend/src/services/oauth-client/oauth-client-service.ts+++ b/backend/src/services/oauth-client/oauth-client-service.ts@@ -611,6 +611,13 @@ export const oauthClientServiceFactory = ({});}+ if (!userAlias.isEmailVerified) {+ throw new UnauthorizedError({+ message:+ "The user this token identifies has not verified their identity with your organization's OIDC SSO. They need to complete a browser sign-in once before an application can act on their behalf."+ });+ }+const user = await userDAL.findById(userAlias.userId);if (!user) {throw new UnauthorizedError({ message: "The user this token identifies no longer has an Infisical account." });