You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by agilone <er...@medyanova.com> on 2014/11/25 19:53:02 UTC

Re: Shiro now supports OAuth (client mode)

Hi Jérôme, 

Would you please let me know if implementing following cases are possible
with your integrations? 

1- Oauth 2.0 with known providers and custom provider 
2- Oauth 2.0 app to app type of authentication (using bearer tokens -
https://dev.twitter.com/oauth/application-only) 

also it would be nice if you can explain little bit how we can achieve such
integration - we already have Shiro in place for authentication.  

Thanks 

ED




--
View this message in context: http://shiro-user.582556.n2.nabble.com/Shiro-now-supports-OAuth-client-mode-tp7577637p7580339.html
Sent from the Shiro User mailing list archive at Nabble.com.

Re: Shiro now supports OAuth (client mode)

Posted by jleleu <le...@gmail.com>.
Hi,

We have started working on extending pac4j libraries including buji-pac4j.
The idea is to be able to login users not only through the default webflow
with an external identity provider, but also to be able to authenticate REST
requests.
It's almost done for the default J2E implementation of pac4j
(https://github.com/leleuj/j2e-pac4j/commit/e960963ea10c73805ef33b00cb36c86c896f714d).

We are trying to imagine various use cases. For your point number 2, could
you elaborate a little more about it? How does authentication happen? What
are the credentials? Is Twitter a real use case or just an example? etc.

Thanks.
Best regards,
Jérôme




--
View this message in context: http://shiro-user.582556.n2.nabble.com/Shiro-now-supports-OAuth-client-mode-tp7577637p7580351.html
Sent from the Shiro User mailing list archive at Nabble.com.

RE: Shiro now supports OAuth (client mode)

Posted by Konrad Zuse <th...@hotmail.com>.
Nice nice!!!  I would talk to Lez about OAuth in Shiro 2.0.  I believe there was mention about it, but I believe that it's good to talk to the boss and see what's going on.  I'm excited for Shiro 2.0 when it's ready!

> Date: Tue, 25 Nov 2014 23:48:51 -0700
> From: leleuj@gmail.com
> To: user@shiro.apache.org
> Subject: Re: Shiro now supports OAuth (client mode)
> 
> Hi,
> 
> The first use case is handled currently by buji-pac4j. You can delegate the
> user authentication to a lot of well-known providers (Facebook, Twitter...)
> This flow requires redirections between the application and the identity
> provider and some UI interaction from the user (to enter his credentials).
> 
> The second use case is not implemented yet, but we have some discussions
> about allowing straight authentication (to support REST) and that allows
> this kind of scenario. So it might come sooner than expected.
> 
> The home page of the project: https://github.com/bujiio/buji-pac4j should
> provide you enough documentation. Just let me know if you feel that
> something is missing.
> 
> Thanks.
> Best regards,
> 
> Jérôme LELEU
> Founder of CAS in the cloud: www.casinthecloud.com | Twitter: @leleuj
> Chairman of CAS: www.jasig.org/cas | Creator of pac4j: www.pac4j.org
> 
> 2014-11-25 19:53 GMT+01:00 agilone [via Shiro User] <
> ml-node+s582556n7580339h77@n2.nabble.com>:
> 
> > Hi Jérôme,
> >
> > Would you please let me know if implementing following cases are possible
> > with your integrations?
> >
> > 1- Oauth 2.0 with known providers and custom provider
> > 2- Oauth 2.0 app to app type of authentication (using bearer tokens -
> > https://dev.twitter.com/oauth/application-only)
> >
> > also it would be nice if you can explain little bit how we can achieve
> > such integration - we already have Shiro in place for authentication.
> >
> > Thanks
> >
> > ED
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> > http://shiro-user.582556.n2.nabble.com/Shiro-now-supports-OAuth-client-mode-tp7577637p7580339.html
> >  To start a new topic under Shiro User, email
> > ml-node+s582556n582556h4@n2.nabble.com
> > To unsubscribe from Shiro User, click here
> > <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=582556&code=bGVsZXVqQGdtYWlsLmNvbXw1ODI1NTZ8LTExNzY2MzcxMTY=>
> > .
> > NAML
> > <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >
> 
> 
> 
> 
> --
> View this message in context: http://shiro-user.582556.n2.nabble.com/Shiro-now-supports-OAuth-client-mode-tp7577637p7580342.html
> Sent from the Shiro User mailing list archive at Nabble.com.
 		 	   		  

Re: Shiro now supports OAuth (client mode)

Posted by jleleu <le...@gmail.com>.
Hi,

The first use case is handled currently by buji-pac4j. You can delegate the
user authentication to a lot of well-known providers (Facebook, Twitter...)
This flow requires redirections between the application and the identity
provider and some UI interaction from the user (to enter his credentials).

The second use case is not implemented yet, but we have some discussions
about allowing straight authentication (to support REST) and that allows
this kind of scenario. So it might come sooner than expected.

The home page of the project: https://github.com/bujiio/buji-pac4j should
provide you enough documentation. Just let me know if you feel that
something is missing.

Thanks.
Best regards,

Jérôme LELEU
Founder of CAS in the cloud: www.casinthecloud.com | Twitter: @leleuj
Chairman of CAS: www.jasig.org/cas | Creator of pac4j: www.pac4j.org

2014-11-25 19:53 GMT+01:00 agilone [via Shiro User] <
ml-node+s582556n7580339h77@n2.nabble.com>:

> Hi Jérôme,
>
> Would you please let me know if implementing following cases are possible
> with your integrations?
>
> 1- Oauth 2.0 with known providers and custom provider
> 2- Oauth 2.0 app to app type of authentication (using bearer tokens -
> https://dev.twitter.com/oauth/application-only)
>
> also it would be nice if you can explain little bit how we can achieve
> such integration - we already have Shiro in place for authentication.
>
> Thanks
>
> ED
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://shiro-user.582556.n2.nabble.com/Shiro-now-supports-OAuth-client-mode-tp7577637p7580339.html
>  To start a new topic under Shiro User, email
> ml-node+s582556n582556h4@n2.nabble.com
> To unsubscribe from Shiro User, click here
> <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=582556&code=bGVsZXVqQGdtYWlsLmNvbXw1ODI1NTZ8LTExNzY2MzcxMTY=>
> .
> NAML
> <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://shiro-user.582556.n2.nabble.com/Shiro-now-supports-OAuth-client-mode-tp7577637p7580342.html
Sent from the Shiro User mailing list archive at Nabble.com.