Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Conversation

@lmoj
Copy link
Contributor

@lmoj lmoj commented May 16, 2023

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

supabase.auth.get_user raises

gotrue.errors.AuthRetryableError: 1 validation error for UserResponse
user -> identities -> 0 -> last_sign_in_at
  field required (type=value_error.missing)

when the user hasn't signed in before

@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (736f334) 37.59% compared to head (6fef36a) 37.59%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #265   +/-   ##
=======================================
  Coverage   37.59%   37.59%           
=======================================
  Files          25       25           
  Lines        2285     2285           
=======================================
  Hits          859      859           
  Misses       1426     1426           
Impacted Files Coverage Δ
gotrue/types.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@J0 J0 merged commit 99d4567 into supabase:main May 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants