amastour / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 0 forks source link

3pillars demo - google auth is not working #389

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. go to http://labs.3pillarglobal.com/socialauthdemo/registration.do
2. Click gmail auth

What is the expected output? What do you see instead?
Expected: user logs in.
Actual: Google shows error page "OpenID 2.0 for Google Accounts has gone away"

What version of the product are you using? On what operating system?
Apparently, this is on 4.7

Please provide any additional information below.
see attachment.

Also, seems to be related to the issue that I've already reported:
https://code.google.com/p/socialauth/issues/detail?id=384

Original issue reported on code.google.com by eyfo...@gmail.com on 19 May 2015 at 7:20

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
String url = manager.getAuthenticationUrl(id, successUrl); 
Won't work with google authentication. Unless a permission is provided, google 
tries to use OpenId?? instead of OAuth. Using following line will make the 
sample code on this page work with google too

String url = manager.getAuthenticationUrl(id, successUrl, 
Permission.AUTHENTICATE_ONLY); 

Original comment by pushkar....@avibha.com on 14 Jul 2015 at 9:17