Just like the scenario described in this post, our team is currently utilizing the Google JavaScript API for OAuth2 authentication....
Our next step involves signing in the user to our Rails server. Given that we are using Devise, it seems that invoking Devise should be straightforward. However, I am encountering challenges when attempting to utilize Devise outside of its usual callback controller structure.
Is there anyone who can provide a guide or template for interacting with Devise where the token is already acquired and successfully passing this token to Devise to authenticate the user and initiate a basic authorization process?