Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/auth/src/supabase_auth/_sync/gotrue_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,9 @@ def get_user(self, jwt: Optional[str] = None) -> Optional[UserResponse]:

Takes in an optional access token `jwt`. If no `jwt` is provided,
`get_user()` will attempt to get the `jwt` from the current session.

Returns `None` if no `jwt` is provided and there is no active
session to retrieve one from.
"""
if not jwt:
session = self.get_session()
Expand Down