Google OAuth with Supabase: Can't redirect to protected page

I created a button and added “Login with provider” from supabase to its workflow.

Now I configure the action and select google as provider and want to redirect to the page “Home” which is a protected route. But unfortunately, I cant select “Home”. Only public pages are selectable.

Why is that?

1 Like

You need to redirect to a blank page, and with an on page load workflow redirect to the protected page. This way you get the user session loaded and can redirect to sour protected page

2 Likes