Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL error while logging in #21

Open
pipeten opened this issue Feb 9, 2023 · 0 comments
Open

SQL error while logging in #21

pipeten opened this issue Feb 9, 2023 · 0 comments

Comments

@pipeten
Copy link

pipeten commented Feb 9, 2023

A recent issue has presented for one of our users. While logging in using their google account they receive a SQL error. The URL is

?controller=OAuthController&action=handler&plugin=GoogleAuth&state=STATE&scope=SCOPE

(SCOPE & STATE removed from URL for sec reasons)

Actual behaviour

While using the google account to login, the following error is received,

Internal Error: SQL Error[22001]: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'value' at row 1

If the page is refreshed then the following error is returned,

Internal Error: SQL Error[42000]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE id = '6'' at line 1

Expected behaviour

To login and present 2fa then view the dashboard

Steps to reproduce

Attempt to login using Google using the google auth plugin

Configuration

  • Plugin version: 1.0.8
  • Kanboard version: 1.2.26
  • Database type and version: MariaDB 10.4.13
  • PHP version: 8.1.9
  • OS: Centos 7
  • Browser: Chrome 109.0.5414.120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant