home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.66k stars 29.95k forks source link

Life360 stopped authenticating again #105816

Closed GLazzari1428 closed 9 months ago

GLazzari1428 commented 9 months ago

The problem

I'm having the same issue that happened on older versions of HA. I input the correct username and password (i double checked by login in to life360.com), and i get: Invalid authentication. I tried changing the password for the account, and still had no luck. And I'm on the latest version of HA.

What version of Home Assistant Core has the issue?

core-2023.12.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Life360

Link to integration documentation on our website

https://www.home-assistant.io/integrations/life360/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

I'm unable to post the log, because I can't even configure the integration.

home-assistant[bot] commented 9 months ago

Hey there @pnbruckner, mind taking a look at this issue as it has been labeled with an integration (life360) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `life360` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign life360` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


life360 documentation life360 source (message by IssueLinks)

frankiha commented 9 months ago

I'm having the same issue

PauloSentieiro commented 9 months ago

I´m having the same issue since Dec 12, try several times, change password, and just got the same "invalid authetication" message

gamajunior commented 9 months ago

I'm having the same issue

gamajunior commented 9 months ago

https://api-cloudfront.life360.com/v3/circles.json URL is reachable from browser and returns HTTP 403.

{"errorMessage":"Empty Auth header","url":"\/v3\/circles.json","status":403}

rrlevy commented 9 months ago

Same issue here

pnbruckner commented 9 months ago

Sorry, but I don't know what to do about this. Remember, this is an undocumented, unsupported API that has been reverse engineered (by someone else.) It could very well be that Life360 is trying to prevent unauthorized usage from "rogue" apps (like HA), similar to what some other services (like MyQ) has been doing. Just don't know.

@gamajunior, trying to use that URL in a browser will definitely not work, because like the error message says, there's no authorization header.

jairbj commented 9 months ago

Sorry, but I don't know what to do about this. Remember, this is an undocumented, unsupported API that has been reverse engineered (by someone else.) It could very well be that Life360 is trying to prevent unauthorized usage from "rogue" apps (like HA), similar to what some other services (like MyQ) has been doing. Just don't know.

@gamajunior, trying to use that URL in a browser will definitely not work, because like the error message says, there's no authorization header.

@pnbruckner , I've tried manually query their API using Podman (based on your python lib) and I could authenticate and get 'circles' data.

Could the issue be related to some HA update?

jairbj commented 9 months ago

Sorry, but I don't know what to do about this. Remember, this is an undocumented, unsupported API that has been reverse engineered (by someone else.) It could very well be that Life360 is trying to prevent unauthorized usage from "rogue" apps (like HA), similar to what some other services (like MyQ) has been doing. Just don't know. @gamajunior, trying to use that URL in a browser will definitely not work, because like the error message says, there's no authorization header.

@pnbruckner , I've tried manually query their API using Podman (based on your python lib) and I could authenticate and get 'circles' data.

Could the issue be related to some HA update?

Now I got it when tried it again:

Sorry, you have been blocked
You are unable to access life360.com
Why have I been blocked?
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?
You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.
phcella commented 9 months ago

Same problem here

jum0n commented 9 months ago

Same here.. Was working for me yesterday so guessing people using it will see problems as their login session needs a refresh.

StephenMilner commented 9 months ago

Same problem here.

Such a shame as a lot of my automations trigger based on people leave or arrive.

rgnet5 commented 9 months ago

Same problem here.

Such a shame as a lot of my automations trigger based on people leave or arrive.

Same here. Lots of automations based on where people are, plus I built a whole dashboard to show where family members are. I hope this can be fixed and not another debacle like MyQ.

markcshaz commented 9 months ago

Have the same issue as everyone else. I depend on this for a few automations but appreciate that this may be the end of the integration.

pnbruckner commented 9 months ago

I think it really might be the end of the reverse engineered, unsupported (by Life360) Home Assistant integration.

See also: https://community.home-assistant.io/t/life360-device-tracker-platform/52406/1717

SkoobyDu commented 9 months ago

I'm now seeing the same issue, reading the above it will be a shame if Life360 killed access.

StephenMilner commented 9 months ago

Has anyone tried disabling ipv6 to see if it resolves the problem?

joostlek commented 9 months ago

@pnbruckner Check your discord dms

pnbruckner commented 9 months ago

Has anyone tried disabling ipv6 to see if it resolves the problem?

Yes, I disabled ipv6 quite a while ago to resolve some other issues. That doesn't seem to help.

wokkeltje13 commented 9 months ago

ipv6 is disabled in HA since day 1. so probably not the reason

pnbruckner commented 9 months ago

Please go to the following page and vote for an officially supported integration:

https://community.home-assistant.io/t/life360-officially-supported-integration/658630

wokkeltje13 commented 9 months ago

added a vote but seems like only 3.858 (1.6%) installations have this plug in.

lbouriez commented 9 months ago

Same issue, following up

joostlek commented 9 months ago

3.858, which are only 80% of people sharing analytic data. So 4822. Then about 1/3 only chose to share analytics, so roughly 12.000~15.000 people

CAVACO-PT commented 9 months ago

It started for me today on this version :

Core 2023.12.3 Supervisor 2023.12.0 Operating System 11.2 Frontend 20231208.2

RobFromLI commented 9 months ago

Me too

pnbruckner commented 9 months ago

Please don't bother to share any more details about your systems on which it no longer works. Please just go to the feature request page and vote.

faspina commented 9 months ago

mine is down this morning

joostlek commented 9 months ago

@pnbruckner Check your discord dms

Got some advice and leads for you

CAVACO-PT commented 9 months ago

Voted !!

StephenMilner commented 9 months ago

@joostlek - Anything you can share here?

kisdominik commented 9 months ago

mine is down this morning

Same

ikarus-71 commented 9 months ago

Mine is down also for last two hours.

psfales commented 9 months ago

Same here:


curl -o jnk.html -d '{
    "grant_type": "password",
    "username": "example@email.com",
    "password": "string"
    }' -H "Content-Type: application/json" -X POST  https://api-cloudfront.life360.com/v3/oauth2/token.json

Resulted in

Sorry, you have been blocked....

p0macs commented 9 months ago

Same here... The blocking is from Cloudflare. In the response there is a hint: You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

cpuetzer commented 9 months ago

Seems that they have changed the authentication type, once I input my email address, I receive a text with a code to input into the app to continue the login. No password prompt at all.

StephenMilner commented 9 months ago

Seems that they have changed the authentication type, once I input my email address, I receive a text with a code to input into the app to continue the login. No password prompt at all.

That's interesting.

Possibly a way forward.

darkner258 commented 9 months ago

Mine stopped working today. Tried reloading the integration, but it won't let me log in. Has anyone been able to get it back up and running? Core 2023.12.3 Supervisor 2023.12.0 Operating System 11.2 Frontend 20231208.2

thor0215 commented 9 months ago

It looks like the authentication token page is requiring hCaptcha now and throws a Cloud flare error message if it done properly. It looks like you may be able to get around it using the browsers authentication headers after login.

On Wed, Dec 20, 2023, 9:29 AM darkner258 @.***> wrote:

Mine stopped working today. Tried reloading the integration, but it won't let me log in. Has anyone been able to get it back up and running? Core 2023.12.3 Supervisor 2023.12.0 Operating System 11.2 Frontend 20231208.2

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/105816#issuecomment-1864674587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7JXGMGDNBJCJ45BMLX2CDYKL74DAVCNFSM6AAAAABAWZL3IKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGY3TINJYG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SurfingSpider commented 9 months ago

+1 mine is also down. 😥

Creepios commented 9 months ago

@pnbruckner I guess they don't allow extra devices per account then the already existing device in the circle. image

wokkeltje13 commented 9 months ago

maybe create a dedicated HA account could solve this issue, I bit like needed for Sonoff

smarthomefamilyverrips commented 9 months ago

Following 👍

StephenMilner commented 9 months ago

@pnbruckner I guess they don't allow extra devices per account then the already existing device in the circle. image

Ive just logged in with both my iPad and iPhone so not sure this is correct.

theb3nzi commented 9 months ago

Same here... "...check your creditials..." :( on iobroker newest version

ppollioni commented 9 months ago

Mine has also been flaky all month. Worked perfectly for the last 2 years. Now it will no longer let me log in with my correct username and password.

andyz68 commented 9 months ago

Same here...

jcarlier commented 9 months ago

same problem .. have you another way to replace life 360

deltazerorsan commented 9 months ago

same problem .. have you another way to replace life 360

OwnTracks, don't expect the same polished UI... But it integrates directly to your HA, no cloud, no third parties. You need to play with the settings to do just you want.

https://www.home-assistant.io/integrations/owntracks

PedroKTFC commented 9 months ago

GPS Logger works for me. https://gpslogger.app/