Skip to content

fix: Allow null to be returned from accessToken function when the user is not signed in #1099

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

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

dshukertjr
Copy link
Member

What kind of change does this PR introduce?

Bug fix.

What is the current behavior?

Currently null cannot be returned from accessToken function.

What is the new behavior?

null can be returned from accessToken when the user on the third-party auth is not signed in.

Additional context

Related supabase/supabase-js#1332

…r is not signed in
@dshukertjr dshukertjr marked this pull request as ready for review January 16, 2025 10:09
@dshukertjr dshukertjr merged commit d04d9e6 into main Jan 16, 2025
6 checks passed
@dshukertjr dshukertjr deleted the fix/accessToken-return-type branch January 16, 2025 10:09
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.

None yet

2 participants