Skip to content

Commit

Permalink
Update authentication info
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed May 7, 2022
1 parent efb3cf2 commit 7c3c1e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To allow authentication you first need to register your application at Azure App

3. Click Add a Redirect URI. Click Add a platform. Select Web. Set redirect URI to: `https://login.microsoftonline.com/common/oauth2/nativeclient`, leave the other fields blank and click Configure.

When using the alternate auth flow, which requires internet access to HA, please see the [Alt auth flow](#alt-auth-flow) section.
When using the alternate auth flow, which requires internet access to HA, please see the [Authentication](#authentication) section.

_**NOTE:** The default authentication method has changed from version 3.2.0. The default is now to use the method which does not require access to your HA instance from the internet. If you previously did not set alt_auth_flow or had it set to False, please set it to True. This will only impact people re-authenticating._

Expand Down Expand Up @@ -180,6 +180,8 @@ Key | Type | Required | Description
`name` | `string` | `True` | The name of the sensor.

## Authentication
_**NOTE:** The default authentication method has changed from version 3.2.0. The default is now to use the method which does not require access to your HA instance from the internet. If you previously did not set alt_auth_flow or had it set to False, please set it to True. This will only impact people re-authenticating._

### Default auth flow
After setting up configuration.yaml and restarting home assistant a persistent notification will be created.
1. Click on this notification.
Expand All @@ -191,8 +193,6 @@ After setting up configuration.yaml and restarting home assistant a persistent n


### Alt auth flow
_**NOTE:** The default authentication method has changed from version 3.2.0. The default is now to use the method which does not require access to your HA instance from the internet. If you previously did not set alt_auth_flow or had it set to False, please set it to True. This will only impact people re-authenticating._

This requires the *alt_auth_flow* to be set to *True* and the redirect uri in your Azure app set to `https://<your_home_assistant_url_or_local_ip>/api/o365`. Note: if you use Nabu Casa for remote support, use that URL as the base.
After setting up configuration.yaml with the key set to _True_ and restarting home assistant a persisten notification will be created.
1. Click on this notification.
Expand Down

0 comments on commit 7c3c1e0

Please sign in to comment.