internal frontend implementation with keycloak authentication
This commit is contained in:
16
internal_frontend/types/auth.d.ts
vendored
Normal file
16
internal_frontend/types/auth.d.ts
vendored
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user