From 8aee0746b82e7f1b55fb2ef2b6c4818eb1007781 Mon Sep 17 00:00:00 2001 From: Natalie Hansen Date: Thu, 13 Nov 2025 17:42:58 -0700 Subject: [PATCH] feat(Auth): Implement OIDC authentication with provider management and login flow This change also includes minor edits to logging to allow for log level to be customized via TOML. --- CHANGELOG.md | 2 + client/index.html | 1 + client/src/auth/Login.vue | 61 +++++++- client/src/locales/en.json | 4 +- server/src/api/http/auth.py | 94 ++++++++++++- server/src/api/http/oidc.py | 257 ++++++++++++++++++++++++++++++++++ server/src/config/__init__.py | 2 + server/src/config/manager.py | 19 +-- server/src/config/types.py | 41 +++++- server/src/logs.py | 36 +++-- server/src/routes.py | 5 + server/src/save.py | 8 +- 12 files changed, 487 insertions(+), 43 deletions(-) create mode 100644 server/src/api/http/oidc.py diff --git a/CHANGELOG.md b/CHANGELOG.md index a0a9dd429..0ec8eda60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ tech changes will usually be stripped from release notes for the public - Runs when moving a shape to the back - Fixes the order of all shapes on the layer and requests a page refresh - Asset manager icon when a shape has template info +- Added OIDC Authentication to Client and Server, based on original changes from JatinVasman PR + - This uses Authorization Code Flow with optional PKCE ### Changed diff --git a/client/index.html b/client/index.html index be75bd25f..9e6e23474 100644 --- a/client/index.html +++ b/client/index.html @@ -6,6 +6,7 @@ +