andygunther | 2017-09-07 19:58:45 UTC | #1
When using the OAuth Client to obtain a session id for a user, is it possible to use a redirect URL that might contain dynamic data?
For example, let’s say the user was on https://backup.brighthorizons.com/reservations?reservation_id=12345 before they were redirected to pure cloud login. The query string of that redirect URL might be different from case to case. Can this be supported somehow?
anon28066628 | 2017-09-07 20:14:06 UTC | #2
The OAuth model doesn't support that, that I know of, but you could store that information in a local cookie instead and get it back after the redirect.
KevinGlinski | 2017-09-07 20:25:33 UTC | #3
you can use the state param to pass info in and get it back after auth https://developer.mypurecloud.com/forum/t/oauth-redirect-uri/20
system | 2017-10-08 20:26:12 UTC | #4
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: 1772