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

Cookie doesn't authenticate with Oauth2 #51

Open
FunDeckHermit opened this issue Jun 23, 2022 · 1 comment
Open

Cookie doesn't authenticate with Oauth2 #51

FunDeckHermit opened this issue Jun 23, 2022 · 1 comment

Comments

@FunDeckHermit
Copy link

Hi, I'm struggling with authentication. I'm using a self-hosted OIDC/OAuth2 provider called Authentik to login into HedgeDoc. This works great with just the press of a button.

What I've done/tried:

  1. Extract the cookie, isolated connect.sid line
  2. Changed docs.domain.com to http://127.0.0.1:3000 in the key.conf
  3. All defaults apply to me, so no setting of env settings.

image

@leandroembu
Copy link

Same here. I'm using Nextcloud's OAuth2.

I didn't understand what to do with the key.conf file. I've tried both with and without connect.sid prefix: connect.sid:<long-string-here> and <long-string-here>, but I got the same response:

Error: Need to authenticate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants