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

feat: use getSession from gotrue-js #453

Merged
merged 4 commits into from
Jun 7, 2022
Merged

feat: use getSession from gotrue-js #453

merged 4 commits into from
Jun 7, 2022

Conversation

alaister
Copy link
Member

@alaister alaister commented Jun 7, 2022

What kind of change does this PR introduce?

Feature/chore

What is the current behavior?

Currently using the old method of setting auth headers

What is the new behavior?

Uses gotrue-js's getSession() method for asynchronously getting the token

Additional context

This is using a prerelease version of gotrue-js, so should not be merge into master.

Also, suggestions for more/better tests are welcome!

@alaister alaister requested a review from soedirgo June 7, 2022 05:23
@alaister alaister merged commit e5f9d1d into next Jun 7, 2022
@alaister alaister deleted the feat/use-getSession branch June 7, 2022 06:34
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