ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Org invite links

Open bkeepers opened this issue 7 years ago • 3 comments

Like @benbalter's https://github.com/benbalter/add-to-org, but as a GitHub App.

Once installed on an organization, an org admin can go to the app and fill out a form to create custom invite links for the organization.

The form could include options like:

  • Who can use this link?
    • Anyone
    • Anyone with a foobar.com email address
    • Anyone that's a member of @org/team (requires this app to be installed)
  • How long is the link valid?
    • Forever
    • 1 week
    • 1 month
    • 1 year
  • Add new members to: [select team]

The app could use jsonwebtoken to encode all the configuration options using the app's private key. The encoded token could be used in a URL and shared to allow self-serve access to an organization.

When a user visits that URL, they will OAuth, and then the app can decode the JSON web token and do its thing.

bkeepers avatar Dec 20 '17 16:12 bkeepers

That's a neat idea - its predicated on OAuth login (of course, you could write that all yourself but really it should be built into Probot)

JasonEtco avatar Dec 20 '17 17:12 JasonEtco

@bkeepers @JasonEtco Can I take it up as part of GSoC?

pranay414 avatar Mar 15 '18 09:03 pranay414

Here's some alternative/reference which works well - https://github.com/orgmanager/orgmanager

anshumanv avatar Mar 15 '18 09:03 anshumanv