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

fix: null OAuth email behavior #259

Merged

Conversation

diegosperes
Copy link
Contributor

Summary

The problem arises when Authn creates a new email column and sets its default value to NULL. This causes an error, impacting all users who previously used their social login.

Changes

  • Refactoring code to accommodate NULL values in the OAuth email column, as the default database value is NULL

app/data/mysql/account_store_test.go Outdated Show resolved Hide resolved
app/data/mysql/account_store_test.go Outdated Show resolved Hide resolved
app/data/postgres/account_store_test.go Outdated Show resolved Hide resolved
@AlexCuse AlexCuse changed the title BUGFIX - Fixing OAuth email behavior fix: null OAuth email behavior Apr 17, 2024
@diegosperes diegosperes mentioned this pull request Apr 17, 2024
@AlexCuse AlexCuse merged commit b608f2c into keratin:main Apr 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants