Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Module registration request: SecureSocial
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  22 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jorge Aliss  
View profile  
 More options Nov 11 2011, 5:53 pm
From: Jorge Aliss <jal...@gmail.com>
Date: Fri, 11 Nov 2011 19:53:29 -0300
Local: Fri, Nov 11 2011 5:53 pm
Subject: Module registration request: SecureSocial
Module name:
securesocial

Display Name:
SecureSocial

Description:
SecureSocial allows you to add an authentication UI to your app that
works with services based on OAuth1, OAuth2, OpenID and OpenID+OAuth
hybrid protocols. The following services are supported:

- Twitter (OAuth1)
- Facebook (OAuth2)
- Google (OpenID + OAuth Hybrid)
- Yahoo (OpenID + OAuth Hybrid)
- LinkedIn (OAuth1)
- Foursquare (OAuth2)
- MyOpenID (OpenID)
- Wordpress (OpenID)
- Username and Password

Project home page:
https://github.com/jaliss/securesocial

OpenID:
https://www.google.com/accounts/o8/id?id=AItOawlpadImhB-aT17ydVHONEMF...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Olivier Refalo  
View profile  
 More options Nov 11 2011, 9:14 pm
From: Olivier Refalo <oref...@yahoo.com>
Date: Fri, 11 Nov 2011 18:14:34 -0800 (PST)
Local: Fri, Nov 11 2011 9:14 pm
Subject: Re: Module registration request: SecureSocial

good job,

I had the same idea but using the excellent SocialAuth
library http://code.google.com/p/socialauth/

Obviously, using the native Play API makes this a better candidate.

Great job!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Nov 11 2011, 9:46 pm
From: Jorge Aliss <jal...@gmail.com>
Date: Fri, 11 Nov 2011 23:46:04 -0300
Local: Fri, Nov 11 2011 9:46 pm
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
Hi Olivier,

Thanks! Hope you find it useful.
Let me know if you have any questions.

Jorge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rakesh Waghela  
View profile  
 More options Nov 12 2011, 3:09 am
From: Rakesh Waghela <javain...@gmail.com>
Date: Sat, 12 Nov 2011 00:09:55 -0800 (PST)
Local: Sat, Nov 12 2011 3:09 am
Subject: Re: [play-framework] Re: Module registration request: SecureSocial

Tested fb , twitter and google accounts !

fb,gmal was already logged in other tabs, twitter was not open.

fb : worked fine thru test url you provided, directly went to authorization
page of fb and then logout screen of your app.
twitter : worked fine too, as I was not logged in , prompted  for twitter
credentials, then logout screen of your app, fine !
gmail : was already open in other tab, prompt for "allowing" appeared,
allowed , but no success with error message .

"There was an error while trying to log you in. Please try again." , tried
several times ! logged out gmail too , then tried again no success !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominik Dorn  
View profile  
 More options Nov 12 2011, 8:07 am
From: Dominik Dorn <dominik.d...@gmail.com>
Date: Sat, 12 Nov 2011 14:07:41 +0100
Local: Sat, Nov 12 2011 8:07 am
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
First: THIS IS AMAZING!

Its a little buggy sometimes, the first time I connected to Facebook / Yahoo
I allowed the app, but it also responded with the error Rakesh noted.

How have you configured Facebook to not allow the user to use a proxy
email address instead of his real one?

Well done!

Dominik

--
Dominik Dorn
http://dominikdorn.com
http://twitter.com/domdorn

Skripten, Mitschriften, Lernunterlagen, etc. findest Du auf
http://www.studyguru.eu !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Nov 12 2011, 8:13 am
From: Jorge Aliss <jal...@gmail.com>
Date: Sat, 12 Nov 2011 10:13:07 -0300
Local: Sat, Nov 12 2011 8:13 am
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
Hi Rakesh,

I checked the logs and found a NullPointerException that was being
raised on the Google implementation.  I think this was caused because
your account must not have an avatar set.  I am checking that in my
code now.  Can you confirm it's working for you now?

Thanks,
Jorge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Nov 12 2011, 8:15 am
From: Jorge Aliss <jal...@gmail.com>
Date: Sat, 12 Nov 2011 10:15:08 -0300
Local: Sat, Nov 12 2011 8:15 am
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
Hi Dominik,

Thanks! Glad you like it!

I just sent an email about the problem Rakesh found.  I think it's
fixed now. If you could try again that'd be great.

Not sure I understand your question about the email on Facebook.  Can
you expand a bit more?

Thanks,

Jorge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dominik Dorn  
View profile  
 More options Nov 12 2011, 8:43 am
From: Dominik Dorn <dominik.d...@gmail.com>
Date: Sat, 12 Nov 2011 14:43:51 +0100
Local: Sat, Nov 12 2011 8:43 am
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
> Not sure I understand your question about the email on Facebook.  Can
> you expand a bit more?

Nevermind, my app on facebook was quite old and had a different
setting enabled which allowed
users to define if they want to provide their real email or a proxy
email address... that's not available anymore
in the new dialog.

Do you have plans to provide a way to ask the user to extend the
permissions they gave us?
For Facebook its simply calling the oauth callback with a modified
scope=... param again.

--
Dominik Dorn
http://dominikdorn.com
http://twitter.com/domdorn

Skripten, Mitschriften, Lernunterlagen, etc. findest Du auf
http://www.studyguru.eu !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Nov 12 2011, 6:37 pm
From: Jorge Aliss <jal...@gmail.com>
Date: Sat, 12 Nov 2011 20:37:36 -0300
Local: Sat, Nov 12 2011 6:37 pm
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
Hi Dominik,

The scope I included in the demo app is what SecureSocial needs to
provide your app with the minimum information I wanted to have for all
the providers.  That is: a user id, display name, email and avatar
url.

If your app needs to get more information or call an API that needs
different permissions you can just add the other scopes you need in a
comma separated list in the "scope" property for that provider in the
application.conf (eg: securesocial.facebook.scope=scope1,scope2)

Then when users try to log in the external service (eg: Facebook) will
let users know what kind of information your app is requesting.
Is that good for you?

Jorge

Then, when the user tries to log in will see all the information your
app is requesting.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marius Andra  
View profile   Translate to Translated (View Original)
 More options Nov 15 2011, 4:44 pm
From: Marius Andra <marius.an...@gmail.com>
Date: Tue, 15 Nov 2011 23:44:44 +0200
Local: Tues, Nov 15 2011 4:44 pm
Subject: Re: [play-framework] Re: Module registration request: SecureSocial

Hey,

I started implementing a new site using the securesocial module.

However it was lacking some features, so I added them. The things I added
are:

1) To be able to access the user object from controllers that don't require
authentication (but can still show a sign out link if you're logged in)
2) The ability to redirect the user to whatever page after he/she signs
out.

The changes are here and I also submitted a pull request.

https://github.com/marius0/securesocial

Btw, great work with the module! :-)

Marius

--
Marius Andra
<http://twitter.com/mariusandra>+372 56 616 347

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Nov 16 2011, 7:38 am
From: Jorge Aliss <jal...@gmail.com>
Date: Wed, 16 Nov 2011 09:38:06 -0300
Local: Wed, Nov 16 2011 7:38 am
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
Hi Marius,

I like the 2 features you proposed.  I think I can simplify the
implementation of number 1 to avoid using another controller as I saw
in your pull request.  Will review things and let you know.

Thanks for your feedback and it's great you liked the module :-)
Cheers,

Jorge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile   Translate to Translated (View Original)
 More options Nov 16 2011, 7:23 pm
From: Jorge Aliss <jal...@gmail.com>
Date: Wed, 16 Nov 2011 21:23:18 -0300
Local: Wed, Nov 16 2011 7:23 pm
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
Hi Marius,

I just committed some changes to include what you needed.  I did not
use your pull request because I found an easier way.
Let me know if this works for you.
Thanks!,

Jorge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolas Leroux  
View profile  
 More options Nov 19 2011, 1:33 pm
From: Nicolas Leroux <leroux.nico...@gmail.com>
Date: Sat, 19 Nov 2011 19:33:32 +0100
Local: Sat, Nov 19 2011 1:33 pm
Subject: Re: [play-framework] Module registration request: SecureSocial
Hi Jaliss,

I have just published your module as it has been approved by the committee (and I am back from Devoxx ;) ). Sorry for the delay.

Nicolas

On Nov 11, 2011, at 11:53 PM, Jorge Aliss wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cyril Lacôte  
View profile  
 More options Nov 21 2011, 12:31 am
From: Cyril Lacôte <cyril.lac...@gmail.com>
Date: Sun, 20 Nov 2011 21:31:25 -0800 (PST)
Local: Mon, Nov 21 2011 12:31 am
Subject: Re: Module registration request: SecureSocial

I have a newbie question (sorry about that).

I'm trying to use this new "securesocial" module, but can't have it
installed :

Brian:linkit Sryl$ play install securesocial
~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~
~ play! 1.2.3, http://www.playframework.org
~
~ No module found 'securesocial'
~ Try play list-modules to get the modules list
~

"securemodule" module is yet listed in official repository :

Brian:linkit Sryl$ play list-modules
~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~
~ play! 1.2.3, http://www.playframework.org
~
~ You can also browse this list online at:
~    http://www.playframework.org/modules
~
... snipped ...
~ [securesocial]
~   SecureSocial
~   http://www.playframework.org/modules/securesocial
~   (No versions released yet)

Is it because of the "No versions released yet", or am I missing
something?
Do we have to wait for Jorge to release a version?

Thanks.

   Cyril.

On Nov 20, 2:33 am, Nicolas Leroux <leroux.nico...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Nov 21 2011, 10:15 am
From: Jorge Aliss <jal...@gmail.com>
Date: Mon, 21 Nov 2011 12:15:16 -0300
Local: Mon, Nov 21 2011 10:15 am
Subject: Re: [play-framework] Module registration request: SecureSocial
Hi Nicolas,

Don't worry about the delay :-)
Thanks!

Jorge

On Sat, Nov 19, 2011 at 3:33 PM, Nicolas Leroux


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Nov 21 2011, 10:16 am
From: Jorge Aliss <jal...@gmail.com>
Date: Mon, 21 Nov 2011 12:16:36 -0300
Local: Mon, Nov 21 2011 10:16 am
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
Hi Cyril,

The module was approved during the weekend and I had not uploaded the
distribution files to the repository yet.  I just did so it should
work.  Please try again and let me know if you have any problems.

Jorge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cyril Lacôte  
View profile  
 More options Nov 21 2011, 3:17 pm
From: Cyril Lacôte <cyril.lac...@gmail.com>
Date: Mon, 21 Nov 2011 12:17:02 -0800 (PST)
Local: Mon, Nov 21 2011 3:17 pm
Subject: Re: Module registration request: SecureSocial

Alright, it works fine now!
Thanks for your work, I'm hungry to try it!

    Cyril.

On Nov 21, 11:16 pm, Jorge Aliss <jal...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marius Andra  
View profile  
 More options Nov 22 2011, 12:47 pm
From: Marius Andra <marius.an...@gmail.com>
Date: Tue, 22 Nov 2011 18:47:57 +0100
Local: Tues, Nov 22 2011 12:47 pm
Subject: Re: [play-framework] Re: Module registration request: SecureSocial

Hey,

Apologies for the late answer. This solution works very well for me!

Thanks!

Marius

--
Marius Andra
<http://twitter.com/mariusandra>+372 56 616 347

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Nov 22 2011, 1:16 pm
From: Jorge Aliss <jal...@gmail.com>
Date: Tue, 22 Nov 2011 15:16:13 -0300
Local: Tues, Nov 22 2011 1:16 pm
Subject: Re: [play-framework] Re: Module registration request: SecureSocial
No problem.  Glad to know it worked!

Jorge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sussegaduss  
View profile  
 More options Nov 24 2011, 6:52 am
From: sussegaduss <sussegad...@gmail.com>
Date: Thu, 24 Nov 2011 03:52:55 -0800 (PST)
Local: Thurs, Nov 24 2011 6:52 am
Subject: Re: [play-framework] Module registration request: SecureSocial

Hi all!!!

first of all excellent job on the module!!!!

i was able to get facebook auth working in about 30 minutes!!!! it`s
amazing!!

the problem is when im trying to log with a google account...

when i use the module i can see google`s login page, i type my email and
password, but when google tries to redirect me back to my app(on address
localhost:9000/auth/google), i checked the logs and im getting the
following error:

      09:38:23,279 ERROR ~ Request token is missing in OpenID+OAuth
callback.  Provider: google  
      securesocial.provider.AuthenticationException
      09:38:23,280 ERROR ~ Error authenticating user
      securesocial.provider.AuthenticationException

on the screen i see that default error page....

i put some logs in your code and what i found is that seems like google is
not returning these required parameters for the oauth authorization to work:

 "openid.oauth.request_token";
 "openid.ext2.request_token";

What am i missing here? why google is not returning the request_token in
response for the openid authentication?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jan Muller  
View profile  
 More options Jan 4, 3:40 pm
From: Jan Muller <mulle...@gmail.com>
Date: Wed, 4 Jan 2012 12:40:48 -0800 (PST)
Local: Wed, Jan 4 2012 3:40 pm
Subject: Re: [play-framework] Module registration request: SecureSocial

i have the same issue. anyone can help?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jorge Aliss  
View profile  
 More options Jan 5, 4:07 pm
From: Jorge Aliss <jal...@gmail.com>
Date: Thu, 5 Jan 2012 18:07:57 -0300
Local: Thurs, Jan 5 2012 4:07 pm
Subject: Re: [play-framework] Module registration request: SecureSocial

Google does not work with localhost.  You need a URL that is accesible on
the Internet because Google needs to verify it.  You can either use
something like Dyndns to create a URL for your IP (if you're in a home
network for example) or you can host your app somewhere (eg: OpenShift or
Heroku).

Jorge


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »