supabase
supabase copied to clipboard
Non-cookie token storage
Is your feature request related to a problem? Please describe.
I am implementing an Ionic app using @nuxtjs/ionic. I'd like to use Supabase as my API, but that means I need a way to store authentication tokens using the native plugins.
Describe the solution you'd like
Being able to have my own (async) getter and setter methods in the config would allow me to do this.
Describe alternatives you've considered
I can use cookies, though I worry that they won't be as durable as using dedicated local storage.
Additional context
I am happy to make/work on the change if that's useful!