Skip to content

UserLinkAccount: pq: value too long for type character varying(25) #29142

Closed
@MadalinNitu

Description

@MadalinNitu

Description

Gitea version 1.21.1 built with GNU Make 4.4.1, go1.21.4 : bindata, timetzdata, sqlite, sqlite_unlock_notify
Git version: 2.40.1
Operating system: Ubuntu 22.04 LTS (Docker gitea/gitea:1.21.1)
Database: PostgreSQL
Log gist:
2024/02/12 09:56:14 ...eb/routing/logger.go:68:func1() [I] router: polling GET /user/events for 192.168.100.85:0, elapsed 3170.7ms @ events/events.go:18(events.Events)
2024/02/12 09:56:15 .../auth/linkaccount.go:169:linkAccount() [E] UserLinkAccount: pq: value too long for type character varying(25)
2024/02/12 09:56:15 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/link_account_signin for 192.168.100.85:0, 500 Internal Server Error in 97.1ms @ auth/linkaccount.go:113(auth.LinkAccountPostSignIn)

Gitea Version

1.21.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I'm running gitea with docker image. I want to link my existing account to an account from my Keycloak environment.

Database

PostgreSQL

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