mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-22 13:05:43 -05:00
Unable to login via IdentityProvider Initiated #1903
Reference in New Issue
Block a user
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?
Originally created by @acelinkio on GitHub (Jan 8, 2024).
Description
I unable to login via identity provider (IDP) initiated. After clicking on launch icon inside of my identity provider, I am taken to the SP initiated login screen for Vikunja, https://tasks.mydomain.tld/login, instead of being logged into the application. Ideally that would automatically sign in to Vikunja.
Instead additional click is needed to start the service provider (SP) initiated login, which does work correctly.
Vakunja API Settings
Authentik version 2023.10.5
Settings configuration via Terraform
Vikunja Frontend Version
vikunja/frontend:0.22.0
Vikunja API Version
vikunja/api:0.22.0
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
No
Screenshots
No response
@kolaente commented on GitHub (Jan 9, 2024):
This works as intended. If there are multiple auth methods, users need to be able to choose which one they use.
If you set the link to
https://tasks.mydomain.tld/?redirectToProvider=trueand have local auth disabled and have only one auth provider, it will automatically redirect the user to your Auth provider when they are not logged in.This does not happen automatically because then users would be logged in again directly after they logged out.
@PeteKersker commented on GitHub (Dec 22, 2025):
I'm not sure how/where to ask, so I'll try here. Is this installed/available in Version: v1.0.0-rc3? If so, I'm probably doing something wrong.
( I've tried =true, =1, and =myprovidername as well. I just get redirected to the /login page.)
local is disabled. oidc is enabled with one provider defined.
Any thoughts/direction would be appreciated.
@acelinkio commented on GitHub (Dec 22, 2025):
I faced the same issue when I was trying 1.0.0-rc2. https://community.vikunja.io/t/no-longer-able-to-login-via-oidc/3113/17
tldr the syntax changed
https://vikunja.io/docs/openid/#step-2-configure-vikunja
@PeteKersker commented on GitHub (Dec 23, 2025):
Thanks for the insight. I did need to move to the new syntax to get the oidc login to work.
I tried adding the following two lines:
usernamefallback: true
emailfallback: true
Still, no success.
@PeteKersker commented on GitHub (Feb 14, 2026):
Just in case it helps, I finally stumbled upon a syntax that worked: https://my.vikunja.tld/login?redirectToProvider=true
All the other options listed in the documentation did not work.
Thank you for all your work. This product is great!