Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

How to use shib-http-client for facebook/google login with shibboleth idp #9

Open
ash-1202 opened this issue Mar 23, 2017 · 4 comments

Comments

@ash-1202
Copy link

Can you provide with inputs on how the shib-http-client could be used to do a facebook/google login from the mobile client i.e. Android or iOS

@reckart
Copy link
Member

reckart commented Mar 23, 2017

No idea, sorry. Do they even use Shibboleth? I thought they use OpenID. I would expect there should be plenty of examples on how to log in to Google/Facebook programmatically, no?

@ash-1202
Copy link
Author

Thanks for the inputs reckart. Yes i am aware of getting the OAuth token from facebook/google through their fb/google sdk exposed for mobile client. The place we are stuck is how to generate the SAML token from the sp once the OAuth token is shared to SP using the shibboleth idp.

@ash-1202
Copy link
Author

Hi reckart just a query. Can we integrate SAML with shibboleth for restful api services. Below is the flow chart that we want to achieve.

loginflow 1

social login

Do you think this is possible via ECP?

@reckart
Copy link
Member

reckart commented Mar 27, 2017

shib-http-client was implemented in order to access a REST service that was behind a shibboleth authentication. For me that worked. Unfortunately, I am not familiar enough with SAML to tell you if/how that will generalize. The idea of providing the code to the public was that others could try out and would eventually come to a solution for themselves without having to start at zero. So am afraid I cannot help you any really further than what the code is providing to you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants