What you get
The GitHub integration Fractal Studio itself uses, available to your own application.
-
Install flow
Users install your GitHub App on their account or organisation from within your portal, and the installation is recorded in your app.
-
Linked GitHub users
Users connect their GitHub identity. Stored refresh tokens are encrypted and bound to the account they belong to.
-
Repositories on demand
Create repositories through the installation, using short-lived installation tokens instead of long-lived personal ones.
How it works
The GitHub App module wraps GitHub's app model behind a port: installation callbacks, user information, installation tokens and repository creation. It depends on the Secret Service for the tokens it keeps.
Fractal Studio uses this module to connect projects to their repositories and push generated code.