Hi @johnramsden,
Wondering if any of these older threads might help:
- Bad response from token request after team creation auth
- https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2984
- https://github.com/mattermost/mattermost-server/issues/8636
If not, please let me know and I will ask a developer for more details on this.