Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant 2024.6.3 issued started : Failed updating jwt token #80

Closed
faspina opened this issue Jun 21, 2024 · 9 comments · Fixed by Southern-Company-HA/southern_company_api#14

Comments

@faspina
Copy link

faspina commented Jun 21, 2024

Version of the custom_component

Latest versions

Describe the bug

Suddently stopped working, tried logging in again, credentials are accepted but getting
Failed updating jwt token

Debug log

Nothing in the debug log


Add your logs here.

@kid-pro-kuo
Copy link

+1

@Lash-L
Copy link
Collaborator

Lash-L commented Jun 24, 2024

@dcsim0n do you have a chance to take a look at this?

@dcsim0n
Copy link

dcsim0n commented Jun 24, 2024 via email

@bfnpmsz
Copy link

bfnpmsz commented Jun 25, 2024

Having the same problem here. "Failed updating jwt token"

@ccallahan
Copy link

Any updates on this yet?

@dcsim0n
Copy link

dcsim0n commented Jul 9, 2024 via email

rixth pushed a commit to rixth/southern_company_api that referenced this issue Jul 10, 2024
Couple things have broken/changed:

* `LoginComplete` now 500s on a `null` being sent as the `ReturnUrl`. Send a valid value.
* `LoginComplete` now returns a 302 on success. Cookies are only returned by `aiohttp` for the last request that was followed, so we need to disable following redirects.

I confirmed that error handling for invalid username/password still works as expected.

Resolves Southern-Company-HA/southern-company-hacs#80
rixth pushed a commit to rixth/southern_company_api that referenced this issue Jul 17, 2024
Couple things have broken/changed:

* `LoginComplete` now 500s on a `null` being sent as the `ReturnUrl`. Send a valid value.
* `LoginComplete` now returns a 302 on success. Cookies are only returned by `aiohttp` for the last request that was followed, so we need to disable following redirects.

I confirmed that error handling for invalid username/password still works as expected.

Resolves Southern-Company-HA/southern-company-hacs#80
Lash-L pushed a commit to Southern-Company-HA/southern_company_api that referenced this issue Jul 17, 2024
Couple things have broken/changed:

* `LoginComplete` now 500s on a `null` being sent as the `ReturnUrl`. Send a valid value.
* `LoginComplete` now returns a 302 on success. Cookies are only returned by `aiohttp` for the last request that was followed, so we need to disable following redirects.

I confirmed that error handling for invalid username/password still works as expected.

Resolves Southern-Company-HA/southern-company-hacs#80

Co-authored-by: Thomas Rix <[email protected]>
@rixth
Copy link

rixth commented Jul 22, 2024

@Lash-L Has the HA integration been updated with this fix? There looks to be a failing build on the API repo, not sure if it went out or not.

@Lash-L
Copy link
Collaborator

Lash-L commented Jul 23, 2024

A new version should have been pushed now.

@mdb17
Copy link

mdb17 commented Sep 5, 2024

I am getting this error running 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants