-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AuthProviderFactory is out of date #4
Comments
AuthProviderFactory is only for supporting initial version. It is deprecated now. Please go through the following link to know it use:- https://github.com/3pillarlabs/socialauth/wiki/Getting-Started-with-implementing-SocialAuth |
I see, thanks for the answer. But AuthProviderFactory is being used on socialauth-cdi module: Line 164, login method. Using it with Google Plus leads to the SocialAuthException that I've mentioned... |
Ok, thanks for letting us know. We will try to change it in next release. |
I've tried to use Google Plus provider on a CDI environment but it ends throwing the following exception
SocialAuthException: googleplus is not a provider or valid OpenId URL
Therefore, I've started debugging my app and socialauth implementations and I found out that AuthProviderFactory (org.brickred.socialauth) is out of date compared to SocialAuthConfig.
SocialAuthConfig has more providers than AuthProviderFactory (e.g googleplus)
Shortcut to compare both:
https://github.com/3pillarlabs/socialauth/blob/master/socialauth/src/main/java/org/brickred/socialauth/SocialAuthConfig.java
https://github.com/3pillarlabs/socialauth/blob/master/socialauth/src/main/java/org/brickred/socialauth/AuthProviderFactory.java
Thanks!
The text was updated successfully, but these errors were encountered: