Invalid authentication non EU region account
See original GitHub issueRecently started getting ‘Invalid authentication’ when attempting to login for the integration to be created in HA.
Looking at the latest SmartHQ android application (v1.0.0.101.17) there is a link for Non-European accounts to sign in which resolves this problem of getting the authorization code.
Any chance we can get the alternative region added to login and have a user selection for each method?
Logger: gehomesdk.clients.async_login_flows
Source: /usr/local/lib/python3.9/site-packages/gehomesdk/clients/async_login_flows.py:66
There was a problem getting the authorization code, response details: {'method': 'POST', 'cookies': <SimpleCookie: abgea_region='eu-west-1'>, '_real_url': URL('https://accounts.brillion.geappliances.com/oauth2/g_authenticate'), '_url': URL('https://accounts.brillion.geappliances.com/oauth2/g_authenticate'), '_body':..........etc.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/gehomesdk/clients/async_login_flows.py", line 60, in async_get_authorization_code
code = await async_handle_ok_response(session, await resp.text())
File "/usr/local/lib/python3.9/site-packages/gehomesdk/clients/async_login_flows.py", line 95, in async_handle_ok_response
raise GeAuthFailedError(f"Authentication failed, reason: {reason}")
gehomesdk.exception.ge_auth_failed_error.GeAuthFailedError: Authentication failed, reason: Invalid credentials
Have been using it with Fisher Paykel Washing Machine WH1160F2.
Component has worked flawlessly until this recent update.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Login error because account is "in different regions" - Diablo ...
Hello! My battle.net account was created in Europe, but a few years ago I moved it to the US. I downloaded Diablo Immortal...
Read more >Resolve the IAM Error "AWS was not able to validate the ...
"An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials." ...
Read more >Changing Your Region of Residence for Your Riot Account
Thankfully, if you have the wrong region listed on your account, we're here to help! Login below to see if you're eligible for...
Read more >Battle.net Account Country/Region Change - Blizzard Support
Accounts created outside of Korea cannot be adjusted to Korea at a later point as they lack a national ID. If you change...
Read more >Key Based Authentication Failed with "JWT token is invalid ...
For JDBC driver the account parameter in the connection string in under the format: account.region 4. For SnowSQL driver the wrong username is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, been dealing with Covid and catching up with work. I see the new link in the page, let me see what I can do to figure something out. Probably won’t have time until this weekend though.
For what its worth, I took the dev branch and installed the component in the
/config/custom_components
folder on my HAOS install and was now able to authenticate using the US region. So seems like it is good to go.