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

cannot add oauth user to ogranization in latest 9.2 #59610

Closed
tobhv opened this issue Nov 30, 2022 · 6 comments
Closed

cannot add oauth user to ogranization in latest 9.2 #59610

tobhv opened this issue Nov 30, 2022 · 6 comments
Labels
needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc

Comments

@tobhv
Copy link

tobhv commented Nov 30, 2022

I have the exact same issue as described here:
#59282
but then for generic oauth.

What happened:

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Grafana version: 9.2.6, 9.2.7 (do not work)
  • Data source type & version:
  • OS Grafana is installed on:
  • User OS & Browser:
  • Grafana plugins:
  • Others:
@tobhv
Copy link
Author

tobhv commented Nov 30, 2022

reverting back to 9.0.X resolves the issue for me.

@mellieA
Copy link
Contributor

mellieA commented Dec 1, 2022

@tobhv did you try the setting oauth_skip_org_role_update_sync? This setting was added in the issue you referenced above and should resolve this for you.

Please reopen if you think there is a bug and the setting isn't working.

@tobhv
Copy link
Author

tobhv commented Dec 2, 2022

yes. i switched oauth_skup_org_role_update_sync to false or true. either way it does not solve it on 9.2.X (X being lateer versions).

@tobhv
Copy link
Author

tobhv commented Dec 2, 2022

i am not entitled to re-open this issue, but i can create a new one.

@mellieA mellieA reopened this Dec 2, 2022
@mellieA mellieA added needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc and removed type/works-as-intended labels Dec 2, 2022
@tobhv
Copy link
Author

tobhv commented Dec 2, 2022

hmmm. just upgraded to 9.3.1 and there behavior is fine as long as i set oauth_skup_org_role_update_sync to true. sorry for the confusion and thanks for your attention.

@mellieA
Copy link
Contributor

mellieA commented Dec 2, 2022

I re-opened for you.

Can you share the following to help us identify if there is a bug:

  • config settings exactly as they are in your instance. You can obscure any sensitive information.
  • enable debug logging and share the log after restarting grafana
  • share screenshots to show what you see when you navigate to change the user's org

@mellieA mellieA closed this as completed Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Issue needs more information, like query results, dashboard or panel json, grafana version etc
Projects
None yet
Development

No branches or pull requests

2 participants