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

Internal server error when OAuth2 login request gets denied #5522

Open
haslersn opened this issue Feb 23, 2024 · 0 comments
Open

Internal server error when OAuth2 login request gets denied #5522

haslersn opened this issue Feb 23, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@haslersn
Copy link

Description

When using ORY Hydra as an OAuth2 provider and an OAuth2 login request gets denied, it redirects back to an URL of the form:

https://hedgedoc.example.com/auth/oauth2/callback?error=login+request+denied&error_description=login+has+been+cancelled&state=redacted

This results in an internal server error.

Steps to reproduce

Go to any HedgeDoc instance where OAuth2 login is enabled and append the path /auth/oauth2/callback?error=login+request+denied&error_description=login+has+been+cancelled&state=redacted.

Expected behaviour

The error should be shown to the user. If an error_description is given, then that should be shown to the user instead.

Logs

No response

Config

No response

Your Setup

  • HedgeDoc version: 1.9.8

Additional context

No response

@haslersn haslersn added the type: bug Something isn't working label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant