By: Sakit Atakishiyev user 19 Oct 2017 at 7:10 a.m. CDT

2 Responses
Sakit Atakishiyev gravatar
Hi. I am working on Gluu server 3.1.0. I am trying to migrate old scripts to new one according to [this file](https://github.com/GluuFederation/oxAuth/blob/master/Server/integrations/Migration_stepts_to_3.1.x.txt) Now I have a custom login scripts which has 2 step to authenticate my users. Each step has own page. On the first step my xhtml page can read all working parametrs which I set on step 1. I set some params at end of the step 1. When `getPageForStep` (step 2) is called I print all `working params` and I see that all params are there which I set on step 1 . On the 2nd step I return different page and try to find this params to calling `${identity.getWorkingParameter('key')}` but not found anything. On gluu server 3.0.1 I use `Context` and everything works normally. How can I read all params in `3.0.1`. It can be `.page.xml`? Old version use `.page.xml` for each `xhtml` but `3.1.0` use `.navigation.xml` Clearing `working parameters` each step is normal? I see that my `working parameters` is cleared each step. But when I used `Context` this did not happen

By Yuriy Movchan staff 20 Oct 2017 at 8:40 a.m. CDT

Yuriy Movchan gravatar
Hi Sakit, After step #1 oxAuth stores specified with method `getExtraParametersForStep` paramters from identity.workingParameters in session. To access them later you can use next pattern: ` identity.getSessionId().getSessionAttributes() super_gluu_request = session_attributes.get("super_gluu_request") ` Thank you for feedback. I will think about to add automatically stored parameters in session to identity.workingParameters to allow access them transparently from any step.

By Sakit Atakishiyev user 20 Oct 2017 at 8:58 a.m. CDT

Sakit Atakishiyev gravatar
Hi Yuriy. Yes I realized that and now I get param from session.