Skip to content

Logging in with KeyCloak OpenID Connect: 500 error #9907

@bestw

Description

@bestw
  • Gitea version (or commit ref):1.10.3 and 1.12.0+dev-135-g9bc841353
  • Git version:
  • Operating system: docker on Ubuntu 18.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

With logging in with OpenID Connect (KeyCloak 7.0.1 and 8.0.1), gitea returns a 500 Internal Server Error web.

And then we find when the first and last name of user in KeyCloak are both Chinese charactors, gitea returns a 500 error, and if not, gitea works with KeyCloak well.

We changed the version of gitea and keycloak, it always exists. We try to log in other apps with KeyCloak, it has no error.

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions