Subdirectory App Url #115
Labels
No labels
bug
chore
documentation
enhancement
help
in-progress
question
ready-for-release
released
translation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
adam/gate#115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe:
There should be a way to host VoidAuth on a subpath (ex. https://example.com/voidauth) instead of a subdomain (ex. https://voidauth.example.com).
Describe the solution you'd like:
It should be possible to host on a subpath by configuring my reverse proxy correctly, and including the subpath in the APP_URL environment variable. There should also be at least a few examples in the docs for reverse proxy configuration.
Describe alternatives you've considered:
While I don't mind hosting VoidAuth as a subdomain, it should be possible to use a subpath too.
The node-oidc-provider library I use for OIDC does use the HOST header for some interaction/resume logic, so that header cannot be overwritten. That means that the express app will need to be aware of the subdirectory when mounting all of the endpoints. I should be able to find it from the APP_URL environment variable