blakeblackshear.frigate/migrations
Blake Blackshear 1133202cbd
Auth! (#11347)
* reload the window on 401

* backend apis for auth

* add login page

* re-enable web linter

* fix login page routing

* bypass csrf for internal auth endpoint

* disable healthcheck in devcontainer target

* include login page in vite build

* redirect to login page on 401

* implement config for users and settings

* implement JWT actual secret

* add brute force protection on login

* add support for redirecting from auth failures on api calls

* return location for redirect

* default cookie name should pass regex test

* set hash iterations to current OWASP recommendation

* move users to database instead of config

* config option to reset admin password on startup

* user management UI

* check for deleted user on refresh

* validate username and fixes

* remove password constraint

* cleanup

* fix user check on refresh

* web fixes

* implement auth via new external port

* use x-forwarded-for to rate limit login attempts by ip

* implement logout and profile

* fixes

* lint fixes

* add support for user passthru from upstream proxies

* add support for specifying a logout url

* add documentation

* Update docs/docs/configuration/authentication.md

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

* Update docs/docs/configuration/authentication.md

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2024-05-18 10:36:13 -06:00
..
001_create_events_table.py
002_add_clip_snapshot.py
003_create_recordings_table.py
004_add_bbox_region_area.py
005_make_end_time_nullable.py
006_add_motion_active_objects.py
007_add_retain_indefinitely.py
008_add_sub_label.py
009_add_object_filter_ratio.py
010_add_plus_image_id.py Add isort and ruff linter (#6575) 2023-05-29 05:31:17 -05:00
011_update_indexes.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
012_add_segment_size.py
013_create_timeline_table.py
014_event_updates_for_fp.py
015_event_refactor.py
016_sublabel_increase.py
017_update_indexes.py
018_add_dbfs.py
019_create_regions_table.py Migrate pydantic to V2 (#10142) 2024-02-29 16:10:13 -07:00
020_update_index_recordings.py
021_create_previews_table.py
022_create_review_segment_table.py
023_add_regions.py
024_create_export_table.py
025_create_user_table.py Auth! (#11347) 2024-05-18 10:36:13 -06:00