{"id":23048231,"url":"https://github.com/allenporter/home-assistant-openid-auth-provider","last_synced_at":"2025-10-19T08:39:53.898Z","repository":{"id":265792213,"uuid":"896646233","full_name":"allenporter/home-assistant-openid-auth-provider","owner":"allenporter","description":"A Home Assistant Authentication Provider that can use Open ID","archived":false,"fork":false,"pushed_at":"2025-06-24T04:10:44.000Z","size":156,"stargazers_count":21,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-24T05:25:19.084Z","etag":null,"topics":["home-assistant","openid"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allenporter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-30T23:14:38.000Z","updated_at":"2025-06-24T04:10:47.000Z","dependencies_parsed_at":"2024-12-26T19:19:47.934Z","dependency_job_id":"74067697-9962-4c38-8097-cac489481441","html_url":"https://github.com/allenporter/home-assistant-openid-auth-provider","commit_stats":null,"previous_names":["allenporter/home-assistant-openid-auth-provider"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/allenporter/home-assistant-openid-auth-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenporter%2Fhome-assistant-openid-auth-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenporter%2Fhome-assistant-openid-auth-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenporter%2Fhome-assistant-openid-auth-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenporter%2Fhome-assistant-openid-auth-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allenporter","download_url":"https://codeload.github.com/allenporter/home-assistant-openid-auth-provider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allenporter%2Fhome-assistant-openid-auth-provider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265898338,"owners_count":23845776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["home-assistant","openid"],"created_at":"2024-12-15T22:38:19.172Z","updated_at":"2025-10-19T08:39:53.775Z","avatar_url":"https://github.com/allenporter.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# home-assistant-openid-auth-provider\n\nA Home Assistant Authentication Provider that can use Open ID\n\nThis software is an unofficial custom component for Home Assistant. It is not developed, endorsed, or affiliated with the Home Assistant project. Use this software at your own risk.\n\nWhile efforts have been made to ensure the security and functionality of this software, it may introduce vulnerabilities, compatibility issues, or unexpected behavior. By installing and using this software, you accept full responsibility for any outcomes or consequences.\n\nIf you have concerns about security, performance, or compatibility, please consider reviewing the code before installation and ensure it meets your standards. This software is provided \"as is,\" without warranty of any kind.\n\n## Development Status\n\nThis custom component packages previous work done by others:\n\n- https://github.com/home-assistant/core/pull/32926 by elupus\n- https://github.com/home-assistant/frontend/pull/14471 by christiaangoossens\n\nThe current plan is to downgrade this component and work on adding the necessary features in Home Assistant to securely support Open AI. The main work involved will be to simplify the onboarding experience such as providing the ability to sign in with a link, have passwordless created accounts that can change password on sign in, or support external auth providers like OpenID. This will take some time to implement.\n\n## Pre-requisites\n\nYou'll need an existing IDP set up. Here is an example setup for testing out [OpenID Connect with DexIDP](https://gist.github.com/bo0tzz/9531150b6aef0aafef5f739f7e903875).\n\nYou'll need to create a new `Client ID` and `Client Secret` for Home Assistant and record those for use during setup.\n\nThe `username` of the user in the IDP needs to match the username of a Home Assistant user you've created.\n\n## Configuration\n\n1. Install this custom component using HACS\n1. Configure the _OpenID Auth Provider_ integration\n1. Pick a name, set the URL for the _IDP_, and set the _Client ID_ and _Client Secret_\n1. At the bottom of the configuration flow is a list of _Emails_ or _Subjects_ which are allowed to login. You can add users from the IDP to the allow list.\n\n## Usage\n\nThe login page should now show an additional login option to use the IDP:\n\n\u003cimg src=\"resources/login-screenshot.png\" width=300\u003e\n\n## Development\n\n1. Prepare virtual environment\n\n   ```bash\n   $ uv venv\n   $ source .venv/bin/activate\n   $ uv pip install -r requirements_dev.txt\n   ```\n\n1. Run tests\n\n   ```bash\n   $ py.test\n   ```\n\n1. Prepare Home Assistant environment\n\n   ```bash\n   $ export PYTHONPATH=\"${PYTHONPATH}:${PWD}\"  # Allows loading custom_components\n   $ hass --script ensure_config -c config\n   ```\n\n1. Run Home Assistant\n\n   ```bash\n   $ hass -c config\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallenporter%2Fhome-assistant-openid-auth-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallenporter%2Fhome-assistant-openid-auth-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallenporter%2Fhome-assistant-openid-auth-provider/lists"}