I’ve got Supabase Auth setup with a 3rd party SSO (Microsoft)
In the editor the user object is always null. How can I test with an authenticated user? It’s annoying because I can’t use the formula interface to edit dynamic values. For example, I have to go to JS and do:
Callback URL is different from redirect URL, you can find callback url settings in supabase auth. Add editor, staging and your main website address, and they will all work.
Btw, you don’t need to split the login like that, the redirect will go to the right enviroment by itself.
Perfect. I had https://editor.weweb.io/* there already so thought the wildcard would cover it, but switched it to the redirect page url on the supabase side and now it’s working.
They are actually called by redirect URLs in supabase auth as well.
Here you can read about it:
It’s basically a list over what URL’s supabase auth are allowed to redirect to, it doesn’t help to try to redirect to the editor, unless the URL is added at supabase side.