Preconditions.checkValidUrl(config.getCallback(), "Must provide a valid url as callback. Foursquare2 does not support OOB");
Can someone suggest best way to implement Google sign-in for Grails 3 REST APIs.
Our application is a webapp (Angular/Vue) backed by a Grails 3 REST backend.
Basically, this is what we intend to do:
The front end authenticates with Google and gets the id_token from google and send it to back end ie Grails REST webservices.
The backend need to revalidate the token, and associate with a app User for roles etc...
So, I assume, once the token is received by back end, need to validate with Google, if valid create a Authentication object for spring security context holder.