- Enable Jinja2 autoescape by default in the template environment.
- Use json.dumps to safely inject sso_name into JavaScript context.
- Fix linting issue (line too long) in injected_auth_page.py.
- Update tests to verify escaping and safe injection.
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: werdnum <271070+werdnum@users.noreply.github.com>
* Add initial test & add pipeline
* Add very basic YAML config tests
* Add coverage reporting
* Add some webserver & template loading tests
* Add test cases for the helpers
* Implement initial OIDC server tests
* Test codestore & discovery checker
* Test basics of the config flow
* Add test for the HA auth provider
* Cleaned up tests & test injection