Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify config and auth #121

Closed
brucetony opened this issue Oct 16, 2024 · 2 comments · Fixed by #123
Closed

Simplify config and auth #121

brucetony opened this issue Oct 16, 2024 · 2 comments · Fixed by #123
Labels
enhancement New feature or request

Comments

@brucetony
Copy link
Collaborator

Test out if the params in the nuxt config can be replaced with empty strings and the globalMiddlewareEnabled is sufficient

@brucetony brucetony added this to the Release - 1.0.0 milestone Oct 16, 2024
@brucetony brucetony added the enhancement New feature or request label Oct 16, 2024
@brucetony
Copy link
Collaborator Author

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

@brucetony
Copy link
Collaborator Author

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,
      },
    },
}

@brucetony brucetony reopened this Oct 17, 2024
@brucetony brucetony linked a pull request Oct 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant