service.staticpath breaks oauth flow; returns 404 Not Found #1531
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1531
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Description
Users attempting to set up Oauth flow while serving the frontend via the
service.staticpath
key set will result in the callback to vikunja always returning 404.Steps to repro:
service.staticpath
to a folder containing any frontend (tested 0.20.5)nginx
location
block:This could be a misunderstanding of what the key does, but I had assumed the idea to allow for easy bundling of the front and backend.
There is a usable workaround: Follow the nginx reverse proxy.
Just trying to get this out in case other folks run into this issue.
Vikunja Frontend Version
0.20.5
Vikunja API Version
0.20.4
Browser and version
n/a
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots
No response
Does Vikunja return the 404 or nginx?
Vikunja. It was late last night, but this also repros without nginx at all.
The error code is almost certainly a go error; it's a json response with Go capitalization.
Should be resolved with
b56e45d743
- please check with the next unstable build.