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: {
|
||||
// OIDC configuration for nuxt-openid-connect module
|
||||
openidConnect: {
|
||||
op: {
|
||||
issuer: process.env.KEYCLOAK_ISSUER || "https://auth.portnimara.dev/realms/client-portal",
|
||||
clientId: process.env.KEYCLOAK_CLIENT_ID || "client-portal",
|
||||
clientSecret: process.env.KEYCLOAK_CLIENT_SECRET || "",
|
||||
issuer: process.env.KEYCLOAK_ISSUER,
|
||||
clientId: process.env.KEYCLOAK_CLIENT_ID,
|
||||
clientSecret: process.env.KEYCLOAK_CLIENT_SECRET,
|
||||
callbackUrl: "",
|
||||
},
|
||||
config: {
|
||||
cookieFlags: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue