supabase
supabase copied to clipboard
The ability to define pages requiring authentication
Each time a user is trying to access a page that needs authentication, he will automatically be redirected to the configured log in page. If you want to allow access to "public" page, you just need to add them in the exclude redirect option.
I believe that it would be highly beneficial to have an option that serves as the opposite of the 'exclude' param. In my specific use case, I have numerous public pages, including multiple versions of landing pages that are directly accessible from the root (/landing-page-name
). Consequently, excluding them using wildcards seems to be impossible. On the other hand, there is only one URL (/dashboard/**
) that requires authentication.