ideas
ideas copied to clipboard
Org invite links
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.
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)
@bkeepers @JasonEtco Can I take it up as part of GSoC?
Here's some alternative/reference which works well - https://github.com/orgmanager/orgmanager