How to set up standalone Google auth that correctly updates both frontend state and Memberstack database? Answered
Hey guys, have 1 confusion, is it possible to login via just google?
I emended the cta in header + also setup the auth, when i clicks on cta, I too get prompted with my gmail to signin but it's not redirecting to logged in state & also not updating into memberstack members
Comments
11 comments
For anyone who needs this in the future - it is possible to create a signup/login form with only a google button in it.
Clone this project, copy the form, and remove everything that's not the Google auth button 👍
https://showcased.webflow.io/projects/google-authentication![](/hc/user_images/i2bmcM4xbisbqS7HjcBYww.jpeg)
Yeah inside the login form.
also attribute is applied to form too.
Is the button inside a signup or login form? If not try placing the button in a form with the form element data attribute like data-ms-form="signup"
Whats the url so we can take a look? 🙂
Hello Dave 👋🏼
Just checking in and seeing how you were coming along 😁 Were you able to solve this?
for the time being, I replaced with default modal, works like a charm 🙂 but sending the url in a DM too. since using the jetboost + memberstack
Hi @JS I end up using the default modal with email Id/ password & google login, there it works out very well. 🙂
Awesome 😁 Glad to hear it !
Hello, is there any way that the user can still login via google even the user signing up using the code?
Is it not working by defaut! If not, I guess you could just include a standard login form below the passwordless one, with only the google sign in button
Hey guys, I couldn't find any videos on how to setup Google Oauth with Memberstack. Could anyone please guide me on that?
https://docs.memberstack.com/hc/en-us/articles/8327236548379
Please sign in to leave a comment.