-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Description
Description
Hello everyone,
I am using Gitea inside Kubernetes using the helm chart.
What I have setup looks to be all in working order but I am getting the following error:
There was an error processing the authorization request: invalid character 'e' looking for beginning of value. If this error persists, please contact the site administrator.
The settings for the OIDC connector should all be in order (with disabling the PKCE challenge).
The relevant serverside logs:
025/07/21 16:29:25 routers/web/auth/oauth.go:112:SignInOAuthCallback() [I] Failed OAuth callback: (internal) invalid character 'e' looking for beginning of value
2025/07/21 16:29:25 HTTPRequest [I] router: completed GET /user/oauth2/OIDC/callback?state=<SNAP>&code=<SNAP> for 10.222.222.240:48422, 303 See Other in 151.4ms @ auth/oauth.go:76(auth.SignInOAuthCallback)
2025/07/21 16:29:25 HTTPRequest [I] router: completed GET /user/login for 10.222.222.240:48422, 200 OK in 3.4ms @ auth/auth.go:184(auth.SignIn)
What am I to do?
Gitea version: 1.24.3
Gitea chart: gitea-12.1.2
Gitea Version
1.24.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots

Git Version
git version 2.49.1
Operating System
Debian 12 on Kubernetes 1.33
How are you running Gitea?
Kubernetes Helm
Database
PostgreSQL