Hi All,
We have a requirement to support OAuth callback urls with arbitrary subdomains. However wildcard option doesn’t allow for dashes -
. So for example if the call back was configured as https://*.freeagent.com/oauth/callback
then
https://anaccount.freeagent.com/oauth/callback
would be a valid callback but https://an-account.freeagent.com/oauth/callback
wouldn’t be allowed to enable the integration.
As a workaround we have been able to do add the following as registered callback on our application listing in the console (freeagent.com is used here as an example - that’s not our actual callback):
https://*.freeagent.com/oauth/callback
https://*-*.freeagent.com/oauth/callback
https://*-*-*.freeagent.com/oauth/callback
and so on
Separately it would be helpful if the call back URL support arbitrary port numbers - for example:
https://*.freeagent.com:*/oauth/callback
Cheers
Phillip