OpenID authentication is not using the redirect url in configuration file #1661
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#1661
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
I'm running the Vikunja under subdirectory and authenticate via NextCloud as OpenID provider. I've set the redirect url in the configuration file, e.g.
https://hostname/vikunja/auth/openid/nextcloud
. However, the actual redirect url which Vikunja sent to NextCloud ishttps://hostname/auth/openid/nextcloud
, the subdirectory part is missing. How to configure the redirect url correctly?Vikunja Frontend Version
Build from source code, version 0.21.0
Vikunja API Version
0.21.0
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots
No response
Did you configure the frontend url?
Yes I have configured it with the subdirectory:
I've also configured the redirect uri and I'm not sure why the backend api server doesn't use it?
Seems like the redirect url on the frontend was built using only the host and protocol, not the sub path.
Should be fixed in
e98e5a0d2f
- please test with the next unstable frontend build if the problem went away.I've tested and it works well. Thank you!
And I'm interesting in why don't use the redirect url from the api server configuration?
Because when using the desktop app, the redirect url is different from the one you've configured. It's not the most ideal solution and might change in the future.