Automatically redirects if only one Oauth provider #106

Closed
opened 2025-11-01 20:47:11 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @thelicato on GitHub (Nov 14, 2022).

Description

Currently if there is only one Oauth provider it automatically "clicks" on the "Login with " button. This is especially awkward when you logout and it automatically re-performs the login.

Vikunja Frontend Version

0.20.1

Vikunja API Version

0.20.1

Browser and version

Chrome Version 107.0.5304.110 (Official Build) (64-bit)

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @thelicato on GitHub (Nov 14, 2022). ### Description Currently if there is only one Oauth provider it automatically "clicks" on the "Login with <provider>" button. This is especially awkward when you logout and it **automatically re-performs the login**. ### Vikunja Frontend Version 0.20.1 ### Vikunja API Version 0.20.1 ### Browser and version Chrome Version 107.0.5304.110 (Official Build) (64-bit) ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Nov 14, 2022):

This is meant for cases where you open Vikunja from an external source (like a dashboard) and would want to get logged in right away.

What would you propose as a solution to that problem?

@kolaente commented on GitHub (Nov 14, 2022): This is meant for cases where you open Vikunja from an external source (like a dashboard) and would want to get logged in right away. What would you propose as a solution to that problem?
Author
Owner

@thelicato commented on GitHub (Nov 15, 2022):

Well I think that the normal usage is that the user must click on the OpenID provider login button. It doesn't make sense this way, it is also impossible to fully logout in a normal way.

@thelicato commented on GitHub (Nov 15, 2022): Well I think that the normal usage is that the user **must** click on the OpenID provider login button. It doesn't make sense this way, it is also impossible to fully logout in a normal way.
Author
Owner

@kolaente commented on GitHub (Nov 16, 2022):

With 3891d5b876 there's now an extra query parameter to automatically redirect. This allows for automatically logging in when opening Vikunja from an external dashboard but prevents automatically re-logging the user in after being logged out.

@kolaente commented on GitHub (Nov 16, 2022): With https://github.com/go-vikunja/frontend/commit/3891d5b87634c890265477680fafaa04ff06cc3e there's now an extra query parameter to automatically redirect. This allows for automatically logging in when opening Vikunja from an external dashboard but prevents automatically re-logging the user in after being logged out.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#106