Hi Shiva,

Please see the responses.

Thankyou for the clarification, this sessionDataConsent, it should be
temporarily store the consent selected by the user right?
AFAIK. Yes, sessionDataConsent stores temporary in the cache.

And when you click on the home button in the page after passing the consent
page, this context should still have the consent provided by the user
right?
Hope you are referring Home button in playground webapp here,
sessionDataConsent is generated on the identity server side and save in
cache. When you click home button in playground app, no changes happened to
the sessionDataConsent which stored in the Identity server Cache.


Thanks
Godwin



On Sat, Nov 1, 2014 at 4:38 PM, Shiva Balachandran <[email protected]> wrote:

> Hi Godwin,
>
> Thankyou for the clarification, this sessionDataConsent, it should be
> temporarily store the consent selected by the user right? And when you
> click on the home button in the page after passing the consent page, this
> context should still have the consent provided by the user right?
>
> Thank you.
>
> On Saturday, November 1, 2014, Godwin Amila Shrimal <[email protected]>
> wrote:
>
>> Hi Shiva,
>>
>> When you run the Playground application and Authorize, It redirect to the
>> login screen of Identity Server and after successful authentication it
>> redirect to the Approve page with sessionDataConsent, Once user Approve, it
>> submit the data to authorize endpoint which you have mentioned above.
>>
>> Hope this will help.
>>
>>
>> Thanks
>> Godwin
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Sat, Nov 1, 2014 at 12:30 PM, Shiva Balachandran <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> I was going through the code for the OAuth2 Auth Endpoint and i came
>>> across this code block
>>>
>>> String sessionDataKeyFromConsent =
>>> EndpointUtil.getSafeText(request.getParameter(
>>>                 OAuthConstants.SESSION_DATA_KEY_CONSENT));
>>>
>>> Can i know where are we retrieving this from and in what context? Also,
>>> how to view what are the other parameters available.
>>>
>>> Thank you.
>>>
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>> twitter: https://twitter.com/godwinamila
>>
>
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
>
>


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to