Thanks, but I’m not using Portainer.
However, that shouldn’t be a show stopper. I’m using a custom container UI made by QNAP called ContainerStation. I’ll try to install it and let you know how it goes.
all good,
Sadly i only know how portainer works.
if u can’t get it working, just download the assistant relay version in the add-ons of home assistant.
not the beta but the last working one, that one also works.
Add this repo
regards
As I said, I’m not running HassIO but the Core version in a dedicated container. So I do not have any add-ons or plug-ins repository or any supervisor options.
But that shouldn’t stop me so I’ll just give it a try and I’ll let you know.
aah true, my bad. yeah let me know how it goes.
hope its gonna work for you.
regards
there will be changes to the oauth in october.
i did read this on github, and maybe this will let it work after the update.
a guy posted this in github, and i don’t know if its working, well see soon.
also there is an updated nodejs verion what works, but i’m not a fan of that.
This is the github post
I think I have a method that will work to get this running without any code changes at all. And it has to do with how you create your Oauth Client. Instead of choosing Desktop, choose “Web Application”. You will then be presented with a screen to add your redirect URI. Simply enter “https:.//www.example.com” and click create. This will create a json file for you to download that will not use localhost as the redirect URI, so it should still work.
Once you go to add your user using that JSON file, you will eventually get to an example.com page where the address will contain a code:
(don’t worry, that’s not the real one, I subbed in a lot of fake characters) just copy everything after “code=” to “&scope”. So, mine would be: 4/0AdQt8q474dfdydghdsdbdbtRrzq0QC_lObsRrsdwa4yXIssdfvxkgF8zHrvrtyrrhdyz4EumCwwett433g (if that were real) That oauth method will not be deprecated after Sept because it doesn’t use the unauthorized flow. You have to manually put the code in but we’ve had to do that anyway. Fingers crossed this still works!!!
Your link to the github page isn’t there.
hi its this one,
i posted it here because its hard to read on github.
regards
Just moved Assistant Relay off of my Home Assistant to it’s own Docker container (after much struggling getting the Google auth part)
I’ve been using the beta for a few years now. After moving this, I added basic auth (username/password) with nginx for additional security.
This seems to break the ability to also use an assistant relay API key. {“msg”:“Invalid API Key provided”}. API keys work fine with basic auth disabled. Basic auth works when no relay API keys have been generated.
I think this is because basic auth also uses the “authorization” HTTP header, but I’m not sure.
Here is how I pass the API key header with NodeRED:
msg.headers['authorization'] = 'longstringofnumbersandletters';
Anyone know of a workaround to allow the use of both at the same time?