Hi Grafana Community,
We are using Generic OAuth for authentication in Grafana. Users first log in to our platform, and then they are automatically logged into Grafana using Generic OAuth authentication.
Currently, when a new user logs in, Grafana automatically creates the user and assigns them to the default/main organization. However, we want users to be automatically assigned to their respective organizations upon login, without manually mapping them to an org.
How can we achieve this? Is there a way to dynamically map users to organizations using Generic OAuth?