Given that Home Assistant use an authentication system based on OAuth, would it be possible to use the Home Assistant instance as an Identity Provider / Oauth2 Authentication Service?
The use case I’m thinking about is to have a Grafana installed alongside HA, and then be able to authenticate to Grafana automatically as long as I’m logged into Home Assistant, using OAuth?
Grafana has Generic Oauth Authentication support, but I’m unsure whether it can be configured to talk to Home Assistants Auth API. Any hints on this topic?