Service Response Data for Non-Administrator Accounts #22966
Replies: 1 comment
-
Nevermind ... turns out responses were added to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I posed this question on both the HA Discord Developer site, as well as the HA Community forum, as well as emailing an HA developer person directly about it. I received no responses on Discord nor Community forum, and was told by the person I emailed to use "existing support channels" for support. I am assuming that Discussions could be considered an "existing support channel", so here goes nothing ...
Are there any other alternatives besides using
execute_script
to call an integration service that returns service response data? I use the returned data to populate media browsing forms in my SpotifyPlus Card component / dashboard. Some of the data can be quite lengthy, as it’s related to Spotify media catalog information.I have users receiving unauthorized errors when making calls to
execute_script
from non-administrator accounts. Is there another way to call a service that returns service response data, and can be called by non-administrator user accounts? Note that any service calls made that do not return service response data (e.g. made viahass.callService
) are fine.For example, here is how I currently make a call to one of my integration services (from a front-end dashboard card). For non-admin users, this will return an exception of “Unauthorized”:
The following error is logged when a non-administrator user tries to call the above:
I appreciate your consideration, and any direction you can give.
Beta Was this translation helpful? Give feedback.
All reactions