Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Only allow specific google accounts through google oauth #363

Open
IanButterworth opened this issue Feb 24, 2016 · 3 comments
Open

Only allow specific google accounts through google oauth #363

IanButterworth opened this issue Feb 24, 2016 · 3 comments

Comments

@IanButterworth
Copy link

Is it possible to use google oauth, but limit to specific google accounts?
I want the protection of oauth, but not for the system to be open to everyone.

@ViralBShah
Copy link
Contributor

It's tough to do whitelist/blacklist in a general way that works for everyone. Ideally, it should be an approval workflow, I am guessing.

@IanButterworth
Copy link
Author

Agreed. For my purposes though I'm happy for it to be a static array of 2-3 email addresses, and I was wondering whether there's a field I could add to /jboxengine/conf/jbox.user to do that?

@tanmaykm
Copy link
Member

Possible now with post authorization hooks provided in #381.

Post authorization plugin is missing a mention in docs though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants