Two Factor Authentication Options

Posted on
Sat Dec 28, 2019 8:51 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Two Factor Authentication Options

Currently, the community-built, unofficial Ring API library that RingForIndigo uses does not support two factor authentication (2FA). Many folks are interested in seeing 2FA support added to the library, but it is not working yet.

In the meantime, you have essentially two options:

  • Recommended approach: Enable 2FA on your primary Ring account, and then add a secondary account with access to your devices; this secondary account will be just for RingForIndigo to use, so give it a ridiculously complex, unique password that you don't use anywhere else.
  • Live without 2FA and connect to Ring using your primary account in the RingForIndigo plugin

A potential downside to the first option is a limit on which devices you can access in RingForIndigo - specifically, Chime devices won't be accessible by the plugin.

ZachBenz's Plugins: RingForIndigo

Posted on
Wed Jan 01, 2020 4:15 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Two Factor Authentication Options

Version 1.6.0 of the plugin introduces experimental support for two-factor authentication.

Two-factor authentication support is experimental. It has gone through some testing, but if you enable it, please know that you face the risk of being frozen out of your Ring account for 24 hours or more. Please report any problems you encounter in the Support Forum for this plugin.

It is STRONGLY recommended that you create a secondary account on Ring for Indigo to use. Whether or not you ultimately plan to enable two-factor authentication on the secondary account, be sure to still give that account a complex password that you don't use anywhere else, for maximum security.

ZachBenz's Plugins: RingForIndigo

Posted on
Thu Jan 02, 2020 3:54 pm
ryanbuckner offline
Posts: 1075
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Two Factor Authentication Options

This worked for a few hours and then started errors. NOTE: I'm not use 2FA:

Code: Select all
Jan 2, 2020 at 4:52:09 PM
   Ring Error                      Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 181, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/ring_doorbell/generic.py", line 55, in update
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/ring_doorbell/generic.py", line 87, in _get_attrs
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/ring_doorbell/__init__.py", line 200, in query
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/ring_doorbell/__init__.py", line 113, in _get_oauth_token
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/ring_doorbell/auth.py", line 71, in refresh_tokens
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/requests_oauthlib/oauth2_session.py", line 446, in refresh_token
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/oauthlib/oauth2/rfc6749/parameters.py", line 438, in validate_token_parameters
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/RingForIndigo.indigoPlugin/Contents/Server Plugin/oauthlib/oauth2/rfc6749/errors.py", line 405, in raise_from_error
AccessDeniedError: (access_denied) token is invalid or does not exists

   Ring Error                      plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Posted on
Thu Jan 02, 2020 7:45 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

Re: Two Factor Authentication Options

Just pushed out version 1.6.1 - I've added in some additional exception checking, as well as more intelligent connection retrying when errors are encountered.

ZachBenz's Plugins: RingForIndigo

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests