Fix runtime config to properly read KEYCLOAK_CLIENT_SECRET from environment variables
This commit is contained in:
parent
d286da4a8e
commit
2effbb74bb
|
|
@ -106,11 +106,13 @@ export default defineNuxtConfig({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
|
// OIDC configuration for nuxt-openid-connect module
|
||||||
openidConnect: {
|
openidConnect: {
|
||||||
op: {
|
op: {
|
||||||
issuer: process.env.KEYCLOAK_ISSUER || "https://auth.portnimara.dev/realms/client-portal",
|
issuer: process.env.KEYCLOAK_ISSUER,
|
||||||
clientId: process.env.KEYCLOAK_CLIENT_ID || "client-portal",
|
clientId: process.env.KEYCLOAK_CLIENT_ID,
|
||||||
clientSecret: process.env.KEYCLOAK_CLIENT_SECRET || "",
|
clientSecret: process.env.KEYCLOAK_CLIENT_SECRET,
|
||||||
|
callbackUrl: "",
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
cookieFlags: {
|
cookieFlags: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue