linkCredentials: linking forbidden without first specifying allowed request origins

I’m having the same issue.

How to reproduce:

  • Setup new app with github deployment
  • Add one or more origins via UI (App Settings → Allowed Request Origins)
  • Entry is shown in the UI, everything seems ok
  • Inside config repo: git pull
  • Add a space at the end of file: git commit and push to server
  • Deployment logs say it’s successful but the entry is now missing in the UI