Closed brucetony closed 1 month ago
The globalMiddlewareEnabled
option is simple, but it is nice to reach the landing page first and then opt to sign in so it will not be used
The config can be used as such:
runtimeConfig: {
oidc: {
defaultProvider: "keycloak",
providers: {
keycloak: {
audience: "account",
userNameClaim: "preferred_username",
clientId: "",
clientSecret: "",
redirectUri: "",
authorizationUrl: "",
tokenUrl: "",
userinfoUrl: "",
openIdConfiguration: "",
logoutUrl: "",
logoutRedirectUri: "",
exposeAccessToken: false,
pkce: false,
},
},
}
Test out if the params in the nuxt config can be replaced with empty strings and the
globalMiddlewareEnabled
is sufficient