hi,
I am working on a Oauth App that will authorise with Zendesk and Get the Zendesk tokens.
I see that we need to redirect user to below URL to start the auth flow.
https://{subdomain}.zendesk.com/oauth/authorizations/new?response_type=code&client_id={client_id}&redirect_uri={redirect_uri}&scope={scope}
I see that this needs {subdomain} as the input from User.
This will add an additional step on developer side to ask user its workspace subdomain.
Is there a way to skip/avoid that? Does zendesk provide an auth flow which also takes care of user selecting subdomain?
Or it is on developer to get the {subdomain} from user first then proceed with auth flow.