You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
When adding a user to Github via the Git Access Links, we use organizations in Github to manage access. The user has to be invited and then accepted to the organization to be able to use it.
To streamline this process, we'd like to add a member to the organization and accept the invite on their behalf automatically when they go through the Git access flow.
The goal here is to have the Github git access links work as well as they do for Gitlab, working around the quirks of the Github authorization process. If you have questions or want to inquire about individual use cases, please ask in the forum.
When adding a user to Github via the Git Access Links, we use
organizations
in Github to manage access. The user has to be invited and then accepted to the organization to be able to use it.To streamline this process, we'd like to add a member to the organization and accept the invite on their behalf automatically when they go through the Git access flow.
It appears this can be done through the API:
from https://developer.github.com/v3/orgs/members/#add-a-member
https://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation
We should have what we need in terms of OAuth tokens to be able to do this.
The text was updated successfully, but these errors were encountered: