supabase
supabase copied to clipboard
Except API routes
Hey, now i am getting unauthorized on all server/api routes... Is there a way to except specific ones (event filter method type)?
Yes
in redirectOptions : there is an exclude property https://supabase.nuxtjs.org/get-started#redirectoptions
But this shouldn't happen on default
Yes
in redirectOptions : there is an exclude property https://supabase.nuxtjs.org/get-started#redirectoptions
Thank you for your answer, but this option only excludes path, not method
if you want granular method you need to setup your own middleware. The current behavior is route based and with few options.
if you want granular method you need to setup your own
middleware. The current behavior is route based and with few options.
Thanks for advice, I am currently solving my issue with custom middleware. I was just wondering if there is some existing solution here.