Skip to content

Error Data too long when authenticating via Gitea OAuth #516

@gytisrepecka

Description

@gytisrepecka

Describe the bug

Following error is returned when loggin in via Gitea:

{"error":"Error 1406: Data too long for column 'access_token' at row 1"}

Steps to reproduce

Steps to reproduce the behavior:

  1. Attempt to login to WriteFreely via Gitea OAuth;
  2. When redirected from Gitea back to WriteFreely above error is displayed.

Expected behavior

Should successfully login.

Application configuration

  • Single mode or Multi-user mode? Multi-user
  • Database? [mysql/sqlite] MySQL
  • Open registration? [yes/no] No
  • Federation enabled? [yes/no] Yes

Version or last commit: v0.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions