Hi~ I am running into trouble using the Xano facebook Oauth in Weweb. I managed to get the Xano facebook Oauth to work, creating a user in my Xano backend.
1: A button to call for facebook_init from Xano, retrieving a fb_oauth link. Then I stored the link into a variable i created.
3: On my page as the redirect_uri, on page load, it will trigger facebook_continue function that adds the user to my Xano backend and it returns an authentication token.
The problem I am running into is it seems that the user is now logged into my Xano backend but not logged into Weweb. I am not sure if it has to do with the Xano auth plugin which only allows users to log in Only with using the Login Endpoint and not with Facebook Oauth?
Is there a way to log in users in Weweb after it triggers Facebook_continue function? Or am I doing something wrong or missing a step? Thank you for your patience in reading this.
Hi~ I’ve watched and followed the video tutorial for Google Oauth. However I receive the same outcome using the Login provider method. Everything seems to be the same as the tutorial video, except the part that I don’t seem to be logged in on Weweb.
Basically after I click on the Login provider button, I was redirected to google, logged in, then redirected back to my post-login page and finally redirected back to my home page. But when I checked my login status, I don’t think I am logged into Weweb.
Anyway, I reverted to my initial method doing it manually since I can’t find a way to make it work with the Login provider method. At least from following the docs and tutorial clip I fail to pass the auth token and fetch user data back to my page, so the user remain unauthorized.
I managed to do it manually and stored the auth token and fetched the user. Thanks for your time reading my post.