fix: .js toevoegen aan imports

This commit is contained in:
Tibo De Peuter 2025-03-04 21:17:42 +01:00
parent 0b2c90c8b5
commit d9f7b500c8
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
6 changed files with 13 additions and 13 deletions

View file

@ -1,9 +1,4 @@
import {EnvVars, getEnvVar} from "../util/envvars";
type FrontendAuthConfig = {
student: FrontendIdpConfig,
teacher: FrontendIdpConfig
}
import {EnvVars, getEnvVar} from "../util/envvars.js";
type FrontendIdpConfig = {
authority: string,
@ -12,6 +7,11 @@ type FrontendIdpConfig = {
responseType: string
}
type FrontendAuthConfig = {
student: FrontendIdpConfig,
teacher: FrontendIdpConfig
}
const SCOPE = "openid profile email";
const RESPONSE_TYPE = "code";