Hi Nuwan,
On 29 Jul 2014, at 08:57 am, NuwaN Gajanayaka <
mvn...@gmail.com> wrote:
> HI Jaime,
> Thank you for your reply. more about questions..
>
> What I’m wondering here is what role does the “client app” take. Is that a web application of your own?
> > Actually this is an API for mobile application. The mobile application(client) can upload images and videos(to aws s3 buckets). We stored user details on API (currently we using mongoDB)
Now I’m completely lost. Do you mean you are developing a mobile application (the "client app”), and you need to use an API (AWS) to do your stuff, and the API requires you a SAML response for authentication?
> You don’t “configure” assertions either.
> > Yes, i didn't. can you please send a link or steps list for do this.
To do what exactly? If you’ve followed the IdP documentation (which you did according to your first message), then that’s it.
> Issuing assertions is the main purpose of an IdP ;-)
> > yes, its true. i am sorry to have confused you. Actually i mean we didn't use LDAP or SAML SSO for this, only i want to set Authentication(using IAM) for uploading S3 buckets and objects.
Then, what’s the purpose of using SimpleSAMLphp here?
My understanding according to the previous diagram is that Amazon delegates identity management to the user of the API. It is then the responsibility of the user to set up (or integrate) a SAML Single-Sign-On that can be used by the applications to authenticate the user to the API. But you should really provide more information or ask Amazon for it, because I don’t really know how Amazon handles all of this (maybe others in this list can help you better). At first sight, here’s several questions you’ll need an answer for:
- Does the client issue a SAML request to the IdP, or is it just a normal HTTP request and therefore this is IdP-initiated authentication?
- If you have to forward the SAML response to the STS according to the figure, does that mean that it is the STS the Service Provider in this scenario?
- Does the STS require signatures / encryption of the SAML assertions / responses?
- What attributes does the STS need to identify the user?
Also, bear in mind that SAML SSO is front-channel, that is, the entire flow happens through the web browser. That means your client app should behave like a web browser indeed.