I’m trying to configure Auth0 for my application, Xano is my backend. I’ve configured Auth0 in both Xano and in Weweb and confirmed they are working independently. What does not appear to be working is that WeWeb is not able to authenticate to Xano, to access locked tables, etc.
I’ve included a detailed screenshot here, does anyone have any idea on what I might be doing wrong?
Create a empty page on weweb that you call redirect uri . Add a workflow at page load that calls oauth/auth0/continue . Then you need to save the token with a custom line of javascript before fetching the user and redirecting to the page you want. (modifié)
A few questions here to fill in a couple of missing steps.
On the Sign In page, I am calling the INIT endpoint and getting back the REDIRECT_URL- Good!
Once I call the REDIRECT URL, what should I do? I’m guessing I should redirect to that page, but I’m getting an error in Weweb so guessing something not correct there, placing the URL in browser direclty does work…
Once i get the sign in page working (Step 2) - How do I go about storing the CODE that Auth0 returns so that I can run the CONTINUE API to authenticate the user? I’m guessing this is returned from the authentication process, but just not sure how that would work yet because I can’t get to calling CONTINUE just yet…
Hey @patopt To extract the query param from page url, You just need to create a variable name “code” in this case and set the the type as query, it will auto extract the code from page url