Skip to content

Enrolling webauthn device when hosted in subdirectory leads to 404 #13075

@tlansdell8

Description

@tlansdell8

Describe the bug
My authentik installation is hosted in a subdirectory: /authentik/ and is configured correctly for its use.
When attempting to enroll webauthn MFA device, after setup, I am redirected to /if/user/#/settings;{"page":"page-mfa"} which obviously results in a 404 as the /authentik/ subdirectory is missing.

To Reproduce
Attempt to enroll a webauthn MFA device with authentik hosted in a subdirectory.

Expected behavior
I should be redirected back to the MFA page in the correct subdirectory after successful enrolment.

Screenshots
N/A

Logs
No errors shown in the logs

Version and Deployment (please complete the following information):

  • authentik version: 2024.12.3
  • Deployment: docker-compose

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions