New Simplisafe Auth

I am having issues as well. I never get to the redirect to get the code for HA to use. I get the image below and the url is with the token and not the code. Any other thoughts as to what I could be missing? I have tried both on mobile and PC. Thanks for any ideas.

image

What browser are you using? My instructions are based on my own usage of Safari; perhaps other browsers do things differently.

I was using chrome on both, I’ll give firefox or edge a try and see what that does for me.

I also am facing issues with the verification code. I had been using chrome. I just tried it out on MS Edge and still cannot get past the last step with the “code”

So I tried Chrome, edge, FF on windows and Android. The only thing that worked was Safari on my Mac book. Using Safari caused the redirect to happen and I was able to get the code. Thanks for the help!

I see…if you go into Developer Tools in the browser (in the Console tab), I see some messages about “Failed to launch”…with the URL and the code at the end. You will want to use that code and put it in HA

2 Likes

Great info, thank you! I’ll submit a docs PR with this info.

1 Like

Using the error from Developer Tools worked for me as well!

1 Like

This worked for me as well, tested in Edge. I didn’t need to reference any verification emails. I also have 2FA set up on my account. Hopefully these steps help.

  1. Opened authorization link in browser from integration Reconfigure popup
  2. Entered SS credentials & submitted
  3. Entered 2FA code & submitted
  4. Opened Dev Tools > Console
  5. Copied value of the code query string parameter in the Failed to launch URL
  6. Pasted into the integration prompt
  7. Success
2 Likes

The developer console doesn’t show the code in ChromeOS. Have to use a Linux or Windows desktop.

Can anyone give me screenshots or something? I have tried chrome, firefox,edge, but I don’t see a code of any kind in either the window in the dev console.

Edit/Update
Ignore me, I was able to see the error by turning on 2FA in my account which then produced the error and code I needed which worked.

Another solution:
Using Firefox on Ubuntu

  1. Opened authorization link in browser from integration Reconfigure popup
  2. Entered SS credentials & submitted
  3. Entered 2FA code & submitted
  4. FF prompted me to open the link with an external application. Luckily I was able to transcribe the “code=” section of the URL it was trying to open, and that was the value Home Assistant needed.

Not working here. After entering the 2FA code, nothing happens. None of the buttons get me anywhere, no login.

1 Like

I never get past logging into the WebApp for simplisafe never get the second tab opening

@iway and @kendadk, please ensure you have multi-factor auth enabled in SimpliSafe.

I do. Managed to get it working by finding the code= part in the browser console - network.
But: This is not an easy setup and most users will not go that way. Needs improvement… Thanks!

I cannot improve the overall experience, unfortunately. This is 100% due to SimpliSafe. What I can do is update the docs with as much knowledge as we have and continue to revise it over time.

My MFA has been turned the whole time I have used SimpliSafe

@kendadk, you shouldn’t necessarily have a second tab be opened up. After 2FA verification, you should still be “stuck” at the SS login page. From there, open Developer Tools (usually the F12 hotkey in most Windows PC browsers, not sure about Apple machines). Then go to the “Console” tab/area and look for a URL that begins with com.simplisafe.mobile. Near the end of the URL, find the value listed after the code variable:

code=<CODE>

The <CODE> value is what you need to copy and paste in the integration’s “Authorization Code” prompt.

When I go to the console the url is
Prevented navigation to “https:// auth.SimpliSafe.com/u/mfa-sms-challenge?state=xxxxxxxxxxxxxxxlongphrase xxxxxxxxxxx”

“Then due to an unknown protocol. There is not a code there .”

1 Like