Connection health checking

Git-check-auth does not trust hasCredentials() alone. It calls GET /user and requires a 2xx with a JSON content type, so a revoked or expired token correctly reports as not authenticated.


#Where you do it

Task

Where

Connect your GitHub account

On a Confluence page: insert the "Github file (Capable)" macro, then press Connect GitHub in the macro; or open the macro's configuration and press Connect in the Browse GitHub modal.

Connect a second GitHub account (for example work and

Browse GitHub modal → account dropdown → "Add account", or the Manage Connections panel reached from the picker's toolbar

Migrate GitHub macros from Mibex or Appfire

Capable migration wizard


#Settings that affect this

Setting

Where

What it does

There is no GitHub settings screen

Nowhere

The git capability declares no global settings tab and no space settings tab, so GitHub contributes nothing to Capable global settings or space settings. There is also no admin "connect the site to GitHub" screen, becaus



Better with company.