Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immediate oauth check #1495

Open
coyotte508 opened this issue Sep 26, 2024 · 0 comments
Open

Immediate oauth check #1495

coyotte508 opened this issue Sep 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@coyotte508
Copy link
Member

Describe your feature request

When OAuth is configured, and user is not logged in, do an immediate oauth check with prompt=none. It will either log the user in or redirect back with an error, it should be transparent for the user.

That way, the user doesn't have to click the login button (or hit the guest rate limit messages) if their session expired.

Screenshots (if relevant)

Implementation idea

  • add an initial oauth query with prompt=none
  • when redirected:
    • if user is logged in => great
    • if an error is given back (through a query param in the redirect url) => store in a cookie the failure, eg expiration 1 day or session cookie, to avoid trying again
@coyotte508 coyotte508 added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant