<div dir="ltr">Thanks for the response. So if i want to do a social login with SAML and shibboleth in this case then what would be the flow? Also is there any concept of validating these cookies or tokens sent to the mobile client. We have a scenario where we want to support the offline login on the mobile client when internet is not available so that the mobile client communicate with a blue-tooth peripheral. Is this possible?<div><br></div><div>Is there a concept of mobile IDP to validate the tokens on the mobile client?</div><div><br></div><div>Regards,</div><div>Ashish Chaudhary<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 24, 2017 at 9:13 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 3/24/17, 10:59 AM, "users on behalf of Ashish Chaudhary" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:ashish.chaudhary1202@gmail.com">ashish.chaudhary1202@gmail.com</a><wbr>> wrote:<br>
<br>
> We are in requirement of implementation of SAML spec using shibboleth through restful APIs for communication between >mobile client and our server. Basic flow for the login is as follows :<br>
<br>
</span>If you want to sue ECP, that is incorrectly modeled. You should not be sending the user's password to the SP. The client (mobile app in this case) *is* expected to be the ECP client. The client doesn't need or want a SAML token, it just wants access to the service. The SAML assertion is sent by the IdP through the ECP client over to the SP and then a session gets established with a cookie or some other token.<br>
<br>
Not saying you *should* do any of that, most people today either use OAuth or they're using a browser on the device to do the initial login to get a token issued. This has been covered on the list, many times.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Scott<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br></div>