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

Server-side data fetching with RLS - token in local.user instead of s… #206

Closed
wants to merge 1 commit into from
Closed

Conversation

kvetoslavnovak
Copy link

Testing the example I can use supabaseServerClient(locals.user.accessToken) successfully.
But the supabaseServerClient(session.accessToken) does not work for me in the endpoint.

…ession

Testing the example I can use supabaseServerClient(locals.user.accessToken) successfully. 
But the supabaseServerClient(session.accessToken) does not work for me in the endpoint.
@thorwebdev thorwebdev added the sveltekit SvelteKit specific functionality label Sep 15, 2022
@kvetoslavnovak
Copy link
Author

Can be closed as soon as PR #245 is merged.

@kvetoslavnovak
Copy link
Author

kvetoslavnovak commented Sep 26, 2022

PR #245 solved this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sveltekit SvelteKit specific functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants