I'm working on a server-side Zendesk app that uses a modal to go through an OAuth flow. The main app is a ticket editor app, but whenever login is needed I open a modal via the Support api to go through the flow.
After a successful login there is a final redirect inside the modal back to a page I control. I'd like this page to use the ZAFClient to close itself (the modal).
This would all be possible with a ZAFClient instance, but the OAuth redirect URL is the same for all users, so it does not contain query parameters `app_guid` and `origin` as required for ZAFClient in server side apps.
Any workarounds or solutions I might try?