Google login can provide a convenient and seamless authentication option for your users. In this comprehensive guide, we'll walk you through the st...
For further actions, you may consider blocking this person and/or reporting abuse
Thank you for your post!
I had a problem with the CSRF token, it's because I'm putting Google login button inside the old sign-in form.
omniauth: (google_oauth2) Authentication failure! ActionController::InvalidAuthenticityTokenI'm posting this to other guys 🫡
Nice article! easy to understand
Thanks for your kind words @kumarkalyan! 🚀
I'm really glad that you found this article helpful 🙂
Btw, I loved your weather app article. It was awesome!
Feel free to ask any doubt!
Hello! Is there a reason why you configured differently from the proposed controller methods and model method from the docs? Ex. users/omniauth_callbacks_controller.rb is different from the docs and also the from_google method which uses the "unless user ..."
In routes.rb shouldn't it be devise_for :users?
This is amazing. How would you customize the sign up and sign in buttons for google?
thanks this was super helpful
still works with Rails 8 btw