This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Github groups - Automatically accept invite #111
Closed
Description
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
To add someone as a member to an organization, you must invite them to the organization or invite them to a team.
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.
Metadata
Metadata
Assignees
Labels
No labels