Oauth support for REST sensors

Hi,

I just discovered Home Assistant’s built in “Applications Credentials” storage (in the overflow menu on the Integrations / Devices / Entities / Helpers pages) and I figured it would be quite handy if I could use that credentials storage in combination with the REST integration, to pull data from OAuth authenticated REST APIs into sensors (in addition to the currently available User/PW authentication).

This should allow users to easily integrate a lot of services with a (somewhat) standardized API into Home Assistant!

Is there a solution to this yet? I’ll take the 3rd party HACS integration if it exists…

It seems obvious enough that it’s strange it’s not already there, at least for client_credentials flows.

Would that be due to ADR-0007 (architecture/0007-integration-config-yaml-structure.md at 6c8b378e8b7a5329f69fa81bcfe284d85ab522b6 · home-assistant/architecture · GitHub), i.e. that the Restful integration configuration should be migrated to the GUI before any change can be done?

1 Like

Is this already possible?