Comments (19)
Hi Zhouyanming
Thanks for your response. It will be resolved soon and I'll let you know once
it will resolved.
Regards
Tarun
Original comment by [email protected]
on 15 Dec 2010 at 8:45
from socialauth.
make Provider stateless,put id into session not Provider
provider = AuthProviderFactory.getInstance(id);
String url = provider.getLoginRedirectURL(returnToUrl);
session.setAttribute("SocialAuth", id);
then
AuthProvider provider =
uthProviderFactory.getInstance((String)session.getAttribute("SocialAuth"));
Profile p = provider.verifyResponse(request);
maybe you can add a getConsumerManager()/setConsumerManager() for
OpenIdImpl,let developer implement stateless ConsumerAssociationStore and set
it into ConsumerManager
Original comment by [email protected]
on 15 Dec 2010 at 9:12
from socialauth.
[deleted comment]
from socialauth.
Hello BrickRed team,
SocialAuth is a very nice idea. Thank you for the tool.
Though the provider classes not being serialized is pretty annoying.
Please fix it as soon as possible since we plan to use this for our enterprise
project.
One more question. Is it necessary that the provider obj got by line in one
servlet / action class..
AuthProvider provider = AuthProviderFactory.getInstance( id );
be reused at line
Profile profile = provider.verifyResponse( request );
in the next servlet / action class..
zhouyanming wer you abl to work arnd the prb? setting id into session & then
geting the provider back from id dint wrk for me..Please inform of any
workaround if there is any.
Regaurds,
srinivas
Original comment by [email protected]
on 19 Dec 2010 at 12:32
from socialauth.
Hi Srinivas
Thanks for your nice comment.
We are going to release beta version and will try to resolve the serialize
problem in this release.
Setting id into session and getting back that id from session will not work.
You'll have to put provider object into session and get back it from there.
Regards
Tarun
Original comment by [email protected]
on 21 Dec 2010 at 8:06
from socialauth.
where is the beta release! any problems or blockage? we have been waiting for a
long time now. Sorry for the repeated requests.
Thank you,
Srinivas
Original comment by [email protected]
on 27 Dec 2010 at 9:41
from socialauth.
Hi Srinivas
It is almost ready and You'll get it as a new year gift.
Regards
Tarun
Original comment by [email protected]
on 27 Dec 2010 at 11:05
from socialauth.
[deleted comment]
from socialauth.
Hi Srinivas,
We did test the provider object by writing in a file, and it was working. One
thing that you can do to help us is - try to switch on the logging for our
library, it now has many logs so if we are able to see that it will give us
much more information.
In any case, we will look it up as well.
Warm regards,
Abhinav
Original comment by [email protected]
on 1 Jan 2011 at 11:50
from socialauth.
Hello Abhinav,
i turned on the log for GoogleImpl since that is the only one we are using
(with anonymous consumer key & secret). In the dev server of app engine
everything works like a charm but after uploading it things hang at
Profile profile = provider.verifyResponse( request );
when SetupLoginServlet is called these are the logs..
01-01 07:11AM 34.618
org.brickred.socialauth.provider.GoogleImpl getLoginRedirectURL: Determining
URL for redirection
01-01 07:11AM 34.818
org.brickred.socialauth.provider.GoogleImpl getLoginRedirectURL: Redirection to
following URL should happen :
https://www.google.com/accounts/o8/ud?openid.ax.type.postcode=http%3A%2F%2Faxsch
ema.org%2Fcontact%2FpostalCode%2Fhome&openid.ax.type.country=http%3A%2F%2Faxsche
ma.org%2Fcontact%2Fcountry%2Fhome&openid.ax.mode=fetch_request&openid.claimed_id
=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ax.type.f
irstname=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffirst&openid.ax.required=nickn
ame%2Cemail%2Cdob%2Cgender%2Clastname%2Clanguage%2Cfirstname%2Cpostcode%2Cfullna
me%2Ccountry&openid.ax.type.lastname=http%3A%2F%2Faxschema.org%2FnamePerson%2Fla
st&openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&openid.realm
=http%3A%2F%2Fone-login.appspot.com&openid.return_to=http%3A%2F%2Fone-login.apps
pot.com%2FLoginSuccess&openid.ax.type.gender=http%3A%2F%2Faxschema.org%2Fperson%
2Fgender&openid.ns.oauth=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Foauth%2F1.
0&openid.oauth.consumer=anonymous&openid.assoc_handle=AOQobUeeKlq2mkuudQIYSPODHJ
lNSsCJN68H8arJCGQ_JbjUzHCvmLdx&openid.ax.type.email=http%3A%2F%2Faxschema.org%2F
contact%2Femail&openid.oauth.scope=http%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds%2F&o
penid.sreg.optional=nickname%2Cemail%2Cdob%2Cgender%2Clanguage%2Cpostcode%2Cfull
name%2Ccountry&openid.trust_root=http%3A%2F%2Fone-login.appspot.com&openid.ns=ht
tp%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ax.type.language=http%3A%2F%2Fax
schema.org%2Fpref%2Flanguage&openid.identity=http%3A%2F%2Fspecs.openid.net%2Faut
h%2F2.0%2Fidentifier_select&openid.ns.ax=http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.
0&openid.ax.type.nickname=http%3A%2F%2Faxschema.org%2FnamePerson%2Ffriendly&open
id.mode=checkid_setup&openid.ax.type.dob=http%3A%2F%2Faxschema.org%2FbirthDate&o
penid.ax.type.fullname=http%3A%2F%2Faxschema.org%2FnamePerson
but in LoginSuccessServlet there are no logs from GoogleImpl..
things stop at
com.test.server.servlet.LoginSuccessServlet doGet: getting profile
(which is my servlets log)
Thank you,
Srinivas
Original comment by [email protected]
on 1 Jan 2011 at 3:19
from socialauth.
Hi Srinivas,
Please try attached jar and let me know if it works or not.
Regards
Tarun
Original comment by [email protected]
on 3 Jan 2011 at 12:35
Attachments:
from socialauth.
Hello BrickRed!
this is perfect :) works like a charm!
thanks a lot! its been great relief to see things working :)
will soon post a link here to show a demo :)
Thanks a lot, its been long but worthy wait! :)
Srinivas Upadhya
Original comment by [email protected]
on 3 Jan 2011 at 2:57
from socialauth.
That is great to know Srinivas ! All the best for your social application :)
Warm regards,
Abhinav
Original comment by [email protected]
on 4 Jan 2011 at 5:17
from socialauth.
Original comment by [email protected]
on 4 Jan 2011 at 5:17
- Changed state: Verified
from socialauth.
Is there a way to make entire app stateless. It looks i have to keep Auth
Provider in session. Doing so is giving problem in clustered env?
Is there any workaround for this?
Original comment by [email protected]
on 16 May 2011 at 9:58
from socialauth.
No, its not possible with current jar.
But all classes are serializable, so you can persist the AuthProvider Object.
You can use any session management technique in cluster environment to make it
work.
Regards
Tarun
Original comment by [email protected]
on 16 May 2011 at 10:52
from socialauth.
Hi,
https://www.cvsintellect.com
Here is the app using socialauth for linked-in, facebook & google oauth login
running on GAE.
We extended linkedinimpl to import the whole of user profile. planning to do
the same from facebook.
We have mentioned socialauth in credits section:
https://www.cvsintellect.com/public/page/credits
Just wanted to thank you again :)
Regards,
Srinivas
Original comment by [email protected]
on 2 Aug 2013 at 5:40
from socialauth.
Hi Srinivas
Thanks for mentioning SoicalAuth on your website credits section.
Regards
Tarun
Original comment by [email protected]
on 2 Aug 2013 at 10:17
from socialauth.
Hi,
I was thinking of contributing full linked-in profile import back to
social-auth.
The linked-in xml profile parser is already open-sourced by me here:
https://github.com/cvsintellect/linkedin-import
Can you please let me know how i can contribute back.
Please note that this will introduce 3 more jars:
linkedin-import.jar
simple-xml-2.6.6.jar
commons-io-2.4.jar
Regards,
Srinivas
Original comment by [email protected]
on 19 Oct 2013 at 5:21
from socialauth.
Related Issues (20)
- SocialAuthException: Verification code is null HOT 2
- First authentication does not works when application embedded to facebook canvas HOT 1
- implement equals() and hashcode() for org.brickred.socialauth.Contact class HOT 3
- Redirect to another activity after login
- Twitter OnLogin Dialoge by Pressing Cancel button Socialauth redirecting to wrong password page. HOT 1
- Changed keys but app name is not changing
- How fetch Public-url for LinkedIn Login auth
- Verification code is null
- SSL Vulnerability in App
- Not getting access to gmail profile after logging in. Profile is returned as null. HOT 1
- Linkedin integration not working HOT 3
- Failed to parse the contacts from response.https://www.google.com/m8/feeds/contacts/default/full/?max-results=1000
- I am not able to get the provider instance after sucessfully authentication
- Yahoo Invalid Redirect URL problem
- Google auth using deprecated API, will stop working on Mar, 23 2015 HOT 3
- Yammer auth is not working/not correct HOT 1
- javax.net.ssl.SSLHandshakeException: General SSLEngine problem HOT 1
- Facebook Permissions not getting included
- NPE when doing signOut without authorize first
- 3pillars demo - google auth is not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socialauth.