socialauth googleplus not working - what am I doing wrong?

180 views
Skip to first unread message

Bruno Krebs

unread,
Nov 6, 2013, 3:22:50 PM11/6/13
to socialau...@googlegroups.com
Hi there, first of all, thanks for this great framework, it made my life a lot easier indeed.

But, I have an issue with googleplus integration. To clarify things, I'm on the following environment:
  • jboss as 7.1
  • jsf 2.1
  • primefaces
  • prettyfaces
  • cdi
  • no seam at all
And the issue that I was getting was the same of :


Which is:

org.brickred.socialauth.exception.SocialAuthException: googleplus is not a provider or valid OpenId URL
 
After many hours debugging and trying to solve it on my side, I ended solving it by editing org.brickred.socialauth.AuthProviderFactory, in which I have added the following:

providerMap.put("googleplus", org.brickred.socialauth.provider.GooglePlusImpl.class);
domainMap.put(Constants.GOOGLE_PLUS, "googleapis.com");

I'm not sure what is the relation between AuthProviderFactory and SocialAuthConfig, but I have copied the configuration above from this SocialAuthConfig.

Was I doing something wrong, or is this AuthProviderFactory out of date?

Thanks!

Bruno Krebs

Tarun Nagpal

unread,
Jan 3, 2014, 6:47:21 AM1/3/14
to socialau...@googlegroups.com

AuthProviderFactory is deprecated now and we are not modifying it for new providers.

Please use SocialAuthManager object.

Please have a look into the following URL to know how to use SocialAuthManager:-

https://github.com/3pillarlabs/socialauth/wiki/Getting-Started-with-implementing-SocialAuth


Regards
Tarun
Reply all
Reply to author
Forward
0 new messages