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

How do I get and map organization in OAuth2 generic provider? #5409

Open
or-else opened this issue Mar 3, 2020 · 1 comment
Open

How do I get and map organization in OAuth2 generic provider? #5409

or-else opened this issue Mar 3, 2020 · 1 comment

Comments

@or-else
Copy link

or-else commented Mar 3, 2020

OAuth2 generic is fetching user's email only from provider.

How do I get user's organization(s) from the generic OAuth2 provider? How do I map provider's organization to chronograf's organization?

Judging from this doc https://docs.influxdata.com/chronograf/v1.8/administration/managing-organizations/#mapping-organizations I suspect it's not possible with chronograf. Is this indeed the case?

@russorat
Copy link
Contributor

russorat commented Mar 5, 2020

@or-else thanks for opening this. Organizations are not standardized as part of the generic OAuth2 flow from what I understand. We have specific implementations for a few providers because of this. If you can link to the documentation of the specific OAuth2 provider you are using, we can see how difficult it would be to add it.

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

No branches or pull requests

2 participants