mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 04:14:38 +00:00
Feat: Request Access
This commit is contained in:
@@ -108,8 +108,16 @@ export const injectIdentity = fp(async (server: FastifyZodProvider) => {
|
||||
if (req.url.includes("/api/v3/auth/")) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("authMode", authMode);
|
||||
console.log("authMode", authMode);
|
||||
console.log("authMode", authMode);
|
||||
console.log("authMode", authMode);
|
||||
|
||||
if (!authMode) return;
|
||||
|
||||
console.log("authMode", authMode);
|
||||
|
||||
switch (authMode) {
|
||||
case AuthMode.JWT: {
|
||||
const { user, tokenVersionId, orgId } = await server.services.authToken.fnValidateJwtIdentity(token);
|
||||
|
||||
Reference in New Issue
Block a user