Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Authorized redirect URIs

    Posted 06-05-2025 18:02

    epsantos | 2020-05-04 01:08:16 UTC | #1

    Hi,

    I would like to pass a parameter through querystring in my Authorized redirect URIs how to do?


    tim.smith | 2020-05-04 15:48:28 UTC | #2

    That's typically ill-advised since that will require you to enter every possible value as a unique redirect uri in the oauth client configuration. If you must do that, you need to encode the redirect uri as a query string parameter.

    The recommended way to pass arbitrary data to the result of the auth flow is to use the state parameter: https://developer.mypurecloud.com/api/rest/authorization/additional-parameters.html#the_state_parameter

    Also documented in the JS SDK here: https://developer.mypurecloud.com/api/rest/client-libraries/javascript/index.html#authentication


    epsantos | 2020-05-04 22:35:08 UTC | #3

    HI,

    the parameter that I want to pass is personalized, it's a data that is not in the purecloud, is possible???


    tim.smith | 2020-05-07 13:49:27 UTC | #4

    Yes, see the state parameter.


    system | 2020-06-07 13:49:27 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 7703