By: Praveen Srinivasan user 24 Jan 2023 at 1:45 a.m. CST

12 Responses
Praveen Srinivasan gravatar
Hi Team, I am using GLUU and need to respond additional parameters as part of auth response. Currently GLUU is responding with below parameters as auth response to callback URL. ``` code: <code> scope: &lt;scope&gt; state: &lt;state&gt; session_state: &lt;session_state&gt; sid: &lt;sid&gt; ``` I need to pass additional field as part of auth request and need the same value to be responded in auth response. (e.g) Request will be having c`ustomParam1=asdf` as value And the Response also should have `customParam1=asdf` in response. Trying to check whether is there any custom authenticaiton script but no luck. Tried to enable custom params in oxauth config but it only allows to add custom params in request. But the value is not responded back. Is there a way to add / get customParams as part of auth response to callback URL?</code>

By Mobarak Hosen Shakil staff 10 Feb 2023 at 6:22 p.m. CST

Mobarak Hosen Shakil gravatar
Hi, Praveen! I will do a test. Will give you an update soon. Please allow me some time, Regards ~ Shakil

By Praveen Srinivasan user 15 Feb 2023 at 7:12 a.m. CST

Praveen Srinivasan gravatar
Hi @Mobarak Hosen.Shakil, Did you get a chance to check this?

By Mobarak Hosen Shakil staff 15 Feb 2023 at 10:20 p.m. CST

Mobarak Hosen Shakil gravatar
Hi, Praveen! Sorry, I was busy with some customer tickets. Do you want these custom parameters to be passed in SAML or OpenID? Can you give a sample URL? Regards ~ Shakil

By Praveen Srinivasan user 18 Feb 2023 at 12:12 p.m. CST

Praveen Srinivasan gravatar
Hi @Mobarak Hosen.Shakil We were checking the custom params in Oauth Response (OpenID) After IDP Login, we want the additional parameter to be passed as part of auth success.

By Praveen Srinivasan user 07 Mar 2023 at 4:33 a.m. CST

Praveen Srinivasan gravatar
Hi @Mobarak Hosen.Shakil, Any update on this?

By Praveen Srinivasan user 10 Mar 2023 at 10:55 p.m. CST

Praveen Srinivasan gravatar
Hi @Mobarak Hosen.Shakil, Any update on this?

By Mobarak Hosen Shakil staff 13 Mar 2023 at 9:30 p.m. CDT

Mobarak Hosen Shakil gravatar
Hi, Praveen! The possible way to pass custom parameters is `state`. Did you try this? here is the java class for ref: [https://github.com/GluuFederation/oxAuth/blob/82789475b40c07a348c5516492bcd30bfe7297d4/Client/src/main/java/org/xdi/oxauth/client/AuthorizationResponse.java](https://github.com/GluuFederation/oxAuth/blob/82789475b40c07a348c5516492bcd30bfe7297d4/Client/src/main/java/org/xdi/oxauth/client/AuthorizationResponse.java)

By Mobarak Hosen Shakil staff 13 Mar 2023 at 9:49 p.m. CDT

Mobarak Hosen Shakil gravatar
I'm gonna try to use custom script to modify `state` and pass custom parameters with `state`. will share the update with you soon.

By Praveen Srinivasan user 21 Mar 2023 at 3:29 a.m. CDT

Praveen Srinivasan gravatar
Hi @Mobarak Hosen.Shakil, Thank you for the update.

By Praveen Srinivasan user 30 Mar 2023 at 12:06 a.m. CDT

Praveen Srinivasan gravatar
Hi @Mobarak Hosen.Shakil, Would you be able to check custom parameter addition?

By Praveen Srinivasan user 04 Apr 2023 at 12:27 a.m. CDT

Praveen Srinivasan gravatar
Hi @Mobarak Hosen.Shakil Any update on custom parameter addition?

By Mobarak Hosen Shakil staff 04 Apr 2023 at 10:32 p.m. CDT

Mobarak Hosen Shakil gravatar
Hi, Praveen! Unfortunately, customization doesn't cover community support.