Closed astik closed 11 years ago
You're right, the Google support does not work any more.
In fact, Google has removed its OAuth 1.0 support and thus, the GoogleProvider
cannot retrieve user data any more.
The solution is to use the Google2Provider
which uses the OAuth 2.0 protocol. This change is to be made in the https://github.com/leleuj/cas-oauth-demo-3.5.x/blob/master/cas-oauth-client-demo-3.5.x/src/main/webapp/WEB-INF/spring-configuration/applicationContext.xml file.
Ok. I had it working with the cas-pac4j-oauth-client-demo, i think it should work the same on this one. One thing through. Google seems to be more restrictive on key / secret ... anonymous doesn't seems to work anymore. You'll have to create a real key for an identified service. I think it may be more secure but in development it's quite a PITA =D Thanks for you quick reply. (i'm closing the bug, but I think it would be better to remove the non-working example to not confuse people)
Just removed none working examples : Google and LinkedIn...
Hi, I tried to log in with Google provider and it doesn't seem to work. Here is the log from what I get after validating the authentification iinto Google :