Is it possible to pass additional parameters to Identity Provider (Authorization URL)

From this article, it says

If the login URL that is configured in Security settings is https://awesomecompany.com/sso/jwt/login, then the redirect URL would be https://awesomecompany.com/sso/jwt/login?client_id=a13v13&state=hgdg43567&nonce=1545894408&grant_type=implicit&scope=openid%20email%20profile

Is it possible to add custom parameter when the authorisation url is being called, for example, adding a ‘uid’ parameter at the end,

https://awesomecompany.com/sso/jwt/login?client_id=a13v13&state=hgdg43567&nonce=1545894408&grant_type=implicitscope=openid%20email%20profile&uid=123

It is more detailed here.

Yes this is possible only if the following conditions hold true

  1. When user clicks on “mytickets”, if you are redirecting to https://awesomecompany.com/dashboard/login (referred from here ), It will internally redirect to the custom policy configured at organisation dashboard (sample url is: https:///login/auth/?client_id=&redirect_uri=).

You should be using the url https:///login/auth/?client_id=&redirect_uri= on click of “mytickets” in your application.

  1. The parameter that you need to be sent can be appended to the url https:///login/auth/?client_id=&redirect_uri=&uid=123

  2. For you to get the parameter that you sent to us in point 2 in the authorisation url, the parameter needs to be whitelisted via a backend configuration. (This can be done by raising a L2 ticket with us)

2 Likes