Skip to content

Fake useReferrer: true needed in order to being able to use useKeycloak: true?  #14

@qconn-io

Description

@qconn-io

Hi team,

great work with the theme. I actually came to learn about how to extend the default theme with Keycloak and could learn a lot - thanks.

I tried the sample from the /docs folder and if I just follow the manual and configure the Keycloak - it's not kicking in, I get access to the main page without auth. I looked into KeycloakLayout.vue code and I think the reason is that "const hasAccess = ref(true)" is true per default. If I make it into being false, e.g. by specifying "useReferrer: true", without the referer object, then Keycloak logic starts working.

Maybe I do not understand your intention ot maybe you want to make the default hasAccess = false, when useReferrer or useKeycloak are true .

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions