Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage group members via the API #122

Closed
pandark opened this issue Nov 8, 2017 · 4 comments
Closed

Manage group members via the API #122

pandark opened this issue Nov 8, 2017 · 4 comments
Labels

Comments

@pandark
Copy link

pandark commented Nov 8, 2017

I'm trying to create a group for an organization which has it's own oauth/api thing.
I'd like to be able to accept (or invite) members to the group automatically, once they authenticate to an external app using that organization oauth and indicate their inventaire.io username, instead of having to manually accept each one of them.
4 suggested endpoints :

@maxlath maxlath added the API label Nov 8, 2017
@maxlath
Copy link
Member

maxlath commented Nov 9, 2017

Most of those endpoints already exist but are not documented on api.inventaire.io yet, (and not that well documented in the code either), I will give it an update in the coming days.

Would that be ok in your use case to authentify those API requests with BasicAuth or cookies (the second one being faster btw) as we don't provide OAuth yet?

@pandark
Copy link
Author

pandark commented Nov 9, 2017

Yep. As long as it's hosted on my own server and I am the only one working on the code, it's okayish to have my password in clear 🙂.

The inventaire.io oauth would also ensure the organization member's account is actually theirs, though 🤔
But that's not a concern right now ; I don't think people from the organization will add inventaire.io users other than temselves to the group.

maxlath added a commit to inventaire/inventaire-api that referenced this issue Nov 14, 2017
@jum-s
Copy link
Contributor

jum-s commented Feb 6, 2018

done and documented nice !

@jum-s jum-s closed this as completed Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants