Skip to content
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.

[$350] Investigate Github organisation invite functionality #414

Closed
@jmgasper

Description

@jmgasper

@afrisalyp - After discussing internally with Topcoder, we would like the Git link functionality for Github to also support organisation and team functionality, if possible.

We've investigated that in the past but haven't had much luck: #111 and #294

What we would like to have happen:

If a user hits the link to join a Github team:

  1. Invite the user to the organisation (using a service account / PAT that has access to invite. We can't use the copilot token because the copilot may not be able to invite to the org)
  2. Prompt the user to login to Github and show the OAuth permissions requested
  3. User agrees to OAuth permissions
  4. Get the user's OAuth token
  5. Automatically accept the organisation invite on their behalf
  6. Add the user to the team
  7. Show the success page in the Topcoder-X UI

If a user is already in the organisation, the flow should still work and just add the user to the team.

Links

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions