Comments on: Custom HomeAssistant Auth Provider https://blog.christophermullins.com/2019/09/30/custom-homeassistant-auth-provider/ I occasionally write about things. Usually these things are about computers. Tue, 29 Mar 2022 08:43:04 +0000 hourly 1 https://wordpress.org/?v=5.7.14 By: Andrew Cole https://blog.christophermullins.com/2019/09/30/custom-homeassistant-auth-provider/comment-page-1/#comment-11502 Tue, 29 Mar 2022 08:43:04 +0000 https://blog.christophermullins.com/?p=549#comment-11502 Hey Chris,
Thanks so much for this post – blows my mind that Home Assistant doesn’t have some form of this built in already!
To get this working on the current version of Home Assistant I had to make some changes:

Add “, algorithms=[‘HS512’]” to the jwt.decode line
Name the file access_token.py not auth_provider.py

I also removed the audience stuff as my JWT tokens doesn’t contain that information, but that may just have been a red herring.

]]>