Hi - I’m creating an app and have been able to successfully implement the “Login with Xano” action using the provided Xano Auth Element for login. I’ve also been able to set up Google auth with Xano using the “Login with Provider” action.
When logging in with the Xano Auth element - everything works as expected.
However, when I try logging in with Google - the Xano-Google API is called correctly and a token is returned… but I cannot access any “private” (authenticated users) pages - so I am always redirected back to the login page which is my default page at this time.
Please see this video for a demonstration: Jam
Upon review of the debug logs, I can see that, when the Xano Auth workflow is running, there are three values being updated (user, accessToken, and isAuthenticated).
However, when I use the Xano Provider workflow (+google plugin in Xano) - there is only one value that is being updated: accessToken.
I believe there is a problem in this workflow (and maybe I can solve this by adding an additional variable ‘isAuthenticatedGoogle’ or something) because “isAuthenticated” isn’t being updated and therefore none of my private pages know to allow a Google-Authenticated user to access them. If I do need to create my own ‘isAuthenticatedGoogle’ boolean variable - would I set that value in a workflow on my post-login page that is the redirect uri for the Google auth token?
A video of the backend of the app can be viewed here.