Pinned Loading
-
Supabase Auth in Chrome Extensions (...
Supabase Auth in Chrome Extensions (MV3) - How to set storage to chrome.storage to fix getSession and getUser returning null 1/**
2* It took me a long time to understand how to make Supabase Auth work in a Chrome Extension.
3* Basically, you can pass in settings in the third parameter of supabase's createClient function.
4* We'll pass our own custom Storage object which uses chrome.storage.local. Without this,
5* the GoTrue library defaults to window.localStorage, which your Chrome Extension likely isn't
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.