andrei-tatar / node-red-contrib-smartnora

Node Red Google Home integration
https://smart-nora.eu/
109 stars 24 forks source link

Notz possible to log in with Google Home #244

Closed whabby closed 1 year ago

whabby commented 1 year ago

Hi Since yesterday, Smart Nora devices stopped working. In Google Home, the service was away. Tried to install again, but it is not possible to sign in with Google to my account. On desktop-pc, login to smart-nora.eu works. What could be wrong?

Regards

My user id is: age3mXh5h5Yj9J036kHSjYRAK5U2

andrei-tatar commented 1 year ago

Hi @whabby, It seems like you have no devices synced in NORA. Anything relevant in the node-red logs?

whabby commented 1 year ago

Hi Andrei Deleted nora-config now and tried to make new config-node. "Sign in with Google" is not working, always returns to the same "Sign in"-Screen. In page "smart-nora.eu" is the same problem. Is my account ljosdal2000@gmail.com blocked for any reason?

andrei-tatar commented 1 year ago

@whabby What browser are you using? Your account is not blocked. No accounts are blocked.

whabby commented 1 year ago

I use Mozilla Firefox. Now I did it with Edge and it works. No Idea, why it was not working with Firefox. I will check it. Thanks for your idea!

andrei-tatar commented 1 year ago

Ah, interesting. I admit I haven't tested the flow with Firefox. Will look into it.

andrei-tatar commented 1 year ago

It seems Firefox added some security checks in place to prevent tracking between origins (nice, I think I will switch from Chrome as well). They also added a temporary exception for the firebase domains (eg: *.firebaseapp.com) until firebase catches up and stops relying on the session storage for logging in.

Nora is affected because it's using a custom domain on top of that.

I added a temporary fix to redirect to nora-firebase.firebaseapp.com on any browser that is not Chrome.

Pushed a fix for the firefox login in the latest package version 1.18.1. @whabby Let me know if this fixes it for you

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 7 days since being marked as stale.