[BUG?] 500 Error with Authorizer as OpenID provider. #9959

Closed
opened 2025-11-02 08:54:18 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @mzch on GitHub (Dec 10, 2022).

Description

I tried OpenID Login with KeyCloak and Authorizer. I could login with KeyCloak successfully, but I couldn't login with Authorizer. Gitea showed '500' page.
I suspect Gitea causes this issue because it looks that Authorizer responses the correct state and token. But Gitea prints cannot fetch token: 400 Bad Request in the log.
Could you please check my log and tell me how to fix this issue?

Gitea Version

1.17.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/mzch/4578b4f7e017f0f89cabaa20a2c1b665

Screenshots

No response

Git Version

2.30.2

Operating System

Debian 11.5

How are you running Gitea?

Self hosted using pre-built binary.

Database

MySQL

Originally created by @mzch on GitHub (Dec 10, 2022). ### Description I tried OpenID Login with [KeyCloak](https://github.com/keycloak/keycloak) and [Authorizer](https://github.com/authorizerdev/authorizer). I could login with KeyCloak successfully, but I couldn't login with Authorizer. Gitea showed '500' page. I suspect Gitea causes this issue because it looks that Authorizer responses the correct state and token. But Gitea prints `cannot fetch token: 400 Bad Request` in the log. Could you please check my log and tell me how to fix this issue? ### Gitea Version 1.17.3 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist https://gist.github.com/mzch/4578b4f7e017f0f89cabaa20a2c1b665 ### Screenshots _No response_ ### Git Version 2.30.2 ### Operating System Debian 11.5 ### How are you running Gitea? Self hosted using pre-built binary. ### Database MySQL
GiteaMirror added the type/bug label 2025-11-02 08:54:18 -06:00
Author
Owner

@mzch commented on GitHub (Dec 11, 2022):

Another error happens on GitBucket too. Authorizer seems to have a bug.

@mzch commented on GitHub (Dec 11, 2022): Another error happens on GitBucket too. Authorizer seems to have a bug.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9959