Hi Dilshani,

If you have marked a requested claim in SP claim configs as mandatory, IS
will prompt this page if the claim is not available for the user in the
user store and it's not specific to the SPA. In your case, for the
authenticated user 'department' claim value is not available in the user
store hence the prompt. Refer 'Information on mapping claims' section in
[1] for a detailed explanation on mandatory claims.

[1] -
https://docs.wso2.com/display/IS530/Configuring+Claims+for+a+Service+Provider

Regards,
Omindu.

On Wed, Dec 13, 2017 at 3:57 PM, Dilshani Subasinghe <[email protected]>
wrote:

> Hi All,
>
> I am working on scenario 17 (Single Page Application (SPA) proxy) [1].
>
> In this scenario, I configure SP with OAuth 2.0 authorization code grant.
> So I try out claims configurations in SP side. While testing that, noticed
> different behaviors in IS while requesting mandatory claims as follows;
>
>
> ​
>
> Above screenshot also showing that only requesting one claim (department),
> while it configured two mandatory claims in SP.
>
> I need to clarify exact way of requesting claims. Is that going to handle
> by IS or by web app? If it is going to handle by IS, it should show all
> mandatory claims. We tried claim mapping in SP with Travelocity and it
> works fine.
> According to this scenario, I have to use Single Page Application [2].
> Hence bit confuse about the functionality (Whether this is a limitation of
> SPA or issue in IS).
>
> Any help on this will be highly appreciated.
>
> [1] https://medium.facilelogin.com/thirty-solution-patterns-with-the-
> wso2-identity-server-16f9fd0c0389
> [2] https://github.com/facilelogin/aratuwa/tree/
> master/oauth2.0-apps/org.wso2.carbon.identity.oauth.spa
>
> Thanks.
>
> --
>
> Dilshani Subasinghe
> Software Engineer - QA *|* WSO2
> lean *|* enterprise *|* middleware
>
> Mobile : +94773375185 <+94%2077%20337%205185>
> Blog    : dilshani.me
>
> <https://wso2.com/signature>
>



-- 
Omindu Rathnaweera
Senior Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to