Broken Github Auth

  1. when i launch fly proxy 5432 -a my-db
  2. I receive opened web ui with message “Incoming authentication request. A Fly.io client is trying to fetch authentication tokens for your account. If you initiated this action, please continue.”
  3. when I click “continue”, I receive on URL https://auth.fly.io/github_auth?expires message “must authenticate with GitHub account with access to organization 12345 (got )”

how could I fix this?

Hello there!

It looks like you’ve enabled Github SSO for your organization. You can check your Fly.io organization’s settings to view the Github Organization ID being associated with your Fly.io organization.

Once you’ve identified your Github Organization ID, make sure that the Fly.io Github App is installed for it: you can do so by following the instructions provided from clicking on the Ensure the Fly.io GitHub App is installed on this organization. button on your Fly.io organization’s settings page.

If the issue persists even after installing the Github app properly, you could perhaps try uninstalling then reinstalling flyctl to see if that resolves the issue. It’s possible that the cached data for flyctl is causing issues. Uninstalling it should erase such data, and allow you to reauthenticate clearly with your Github integration.

Hope this helps!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.