internal frontend implementation with keycloak authentication

This commit is contained in:
2025-07-02 02:24:35 +00:00
parent 7c3ee5357e
commit 66a415b0dd
39 changed files with 3475 additions and 59 deletions

16
internal_frontend/types/auth.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
import NextAuth from "next-auth";
import {JWT} from "next-auth/jwt";
declare module "next-auth/jwt" {
interface JWT {
access_token?: string;
refresh_token?: string;
}
}
declare module "next-auth" {
interface Session {
accessToken?: string;
refreshToken?: string;
}
}