Grafana removing users mapping from organisations

I have installed and run the grafana container with version grafana 8.4.4 using docker image. In grafana. Ini, have set up configuration in the section of “auth.generic_oauth” with the parameters of client, seceret… Etc. Once logged in grafana, it’s showing users and orgs.If I have added user mapping into different org it works. But after sign out and sign in back to grafana, the user are removed from assigned org. Only it shows default org ’ main org’. Can you help me how to resolve this…

  • What is your Grafana version?
  • Are you using Grafana Cloud or self-hosted Grafana?
    self hosted image
  • What Grafana version and what operating system are you using? 8.4.4 & Linux

  • What are you trying to achieve?
    The users mapping should exist after the user sign in back to grafana