mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 18:28:27 +00:00
feat: corrected the error message
This commit is contained in:
@@ -700,7 +700,7 @@ export const oidcConfigServiceFactory = ({
|
|||||||
const claims = tokenSet.claims();
|
const claims = tokenSet.claims();
|
||||||
if (!claims.email) {
|
if (!claims.email) {
|
||||||
throw new BadRequestError({
|
throw new BadRequestError({
|
||||||
message: "Invalid request. Missing email or first name"
|
message: "Invalid request. Missing email claim."
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user