As per Zendesk documentation for OAuth token (Using OAuth authentication with your application – Zendesk help), when requesting token directly, the token is included in the redirect URL as follows:
When trying to get the token from the URL, in a Python-based backend with Flask request, the request object does not capture any argument from above because the hash fragment in the URL (anything after a '#' character) is not passed by the browser to the request object as it is the case with all parameters that follow standard '?'.
Anyone idea on how get the token from the URL when the callback function is a backend Python function, as opposed to a JS function?
To Zendesk development team: is there any reason that the standard '?' character is not used and instead '#' (hash fragments) are used to form this URL redirect?
Please sign in to leave a comment.