WeWeb And Google Supabase Auth Not redirecting/Authenticating
Hi All,
I am hoping you can help as I have been struggling with this for about a week now. I have found little to no solutions from my frantic googling possibly due to using WeWeb as my app builder.
The Setup:
I have a login button that calls A signup workflow. dependent on if the button is pressed from the editor or the live app (embedded in a WordPress webpage) it will use a custom JavaScript step or the Supabase plugin step. The end goal is to use a JS step on both sides as we want to pass in different redirect URL's based on where the user is (editor or production).
The JS step is running this code:
The issues:
1) The redirect link is currently not working.
The site URL in the URL configurator is being used when pressing the button in the live embedded app which uses the plugin step and not the custom JS. The custom JS send you back to the editor you came from and is ignoring the redirectURL provided. I tested this by using the editor link for another project I have and it didn't send me there.
in the whitelist of Redirect URL's I have set up:
Many thanks for your help, A description of WeWeb will be in the comments.
I am hoping you can help as I have been struggling with this for about a week now. I have found little to no solutions from my frantic googling possibly due to using WeWeb as my app builder.
The Setup:
I have a login button that calls A signup workflow. dependent on if the button is pressed from the editor or the live app (embedded in a WordPress webpage) it will use a custom JavaScript step or the Supabase plugin step. The end goal is to use a JS step on both sides as we want to pass in different redirect URL's based on where the user is (editor or production).
The JS step is running this code:
The issues:
1) The redirect link is currently not working.
The site URL in the URL configurator is being used when pressing the button in the live embedded app which uses the plugin step and not the custom JS. The custom JS send you back to the editor you came from and is ignoring the redirectURL provided. I tested this by using the editor link for another project I have and it didn't send me there.
in the whitelist of Redirect URL's I have set up:
- the editor links with both wildcard options for both projects( eg. https://examplewewebeditorlink.co.uk/* and https://examplewewebeditorlink.co.uk/**)
- the live URL we want the user to navigate to ( this is also currently the Site URL) 2) When redirected it is not authenticating in the editors but is in the live app.
Many thanks for your help, A description of WeWeb will be in the comments.