Skip to content

Login redirection logic not working when the site is in an sub directory #33

@devmodernenglish

Description

@devmodernenglish

Hi,

We've encountered an issue during the login flow. When the flow is invoked, the user is redirected to /oidc/login before going to the issuer URL. However, this logic does not account for sites running in a subdirectory and assumes the site is running at the root of the domain (i.e., when NUXT_APP_BASE_URL is not simply /). Additionally, we cannot use router middleware to fix the destination path, as it seems to use window.location instead of any Nuxt functionality. Could you advise on a workaround or allow settings to prepend NUXT_APP_BASE_URL to the internal URLs?

Kind regards,
Modern English

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions