-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Gitea oAuth Fails #148
Comments
The error might be written in the callback url ? |
At a
|
I'm having the exact same issue using Authentik as oAuth. I think everything is configured correctly in authenthik but i get error 400 in opengist. Any clue? |
Does your openid url ends with Anyway yes, the error should be more explicit than it is right now |
Yep, the address ends with that. Authenthik manage these urls like this: https://domain/application/o/opengist/.well-known/openid-configuration opengist is the name given inside authentik |
@thomiceli ok with the new version the error msg is this:
|
Same here while adding a Codeberg login. Set redirect URI to But logging in with Codeberg results in
|
Codeberg is working fine for me. By any chance did you put literally |
With the last 1.6.0 i'm still getting this error using authentik Bad Request Is there something that can be adjusted authentik side to make it work? |
That is an example, but I used my actual domain. |
I don't know about authentik at all but I will check
What version of Codeberg do you use ? |
@graphixillusion what if you only select 'profile' on your authentik provider scopes ? ![]() |
Selecting only profile in the scopes section i have this error (version 1.6.1): Error 400 |
@SudoVanilla Can you ensure, when you create your Codeberg oauth application, that this option is checked ? |
+1 Also having issues with Authentik and OpenGist, same error as @graphixillusion is having (also after redusing the scope to profile) I have opened a new issue to track this separately: #212 |
@thomiceli it looks like the issue is back. Everything was working fine until I upgrade gitea and opengist. I get |
When attempting to authenticate via Gitea oAuth, I always receive the message:
From looking at the code at https://github.com/thomiceli/opengist/blob/master/internal/web/auth.go#L141C2-L144C3, it appears that this is failing in gothic's
CompleteUserAuth
but I don't' have any way to see why it's failing.Is this a known issue (with hopefully a simple fix) and/or is there a way for me to see what the exact error that gothic is returning?
The rest of the flow (ie. redirecting to Gitea, authorizing the application) seems to be working properly.
Thanks in advance.
The text was updated successfully, but these errors were encountered: