Only the core functionality is implemented here. See the TODOs.
---
aurweb/routers/sso.py | 51 +--
1 file changed, 49 insertions(+), 2 deletions(-)
diff --git a/aurweb/routers/sso.py b/aurweb/routers/sso.py
index b16edffb..d0802c34 100644
---
This column holds a user ID issed by the single sign-on provider. For
Keycloak, it is an UUID. For more flexibility, we will be using a
standardly-sized VARCHAR field.
---
aurweb/schema.py | 1 +
...6e1cd_add_sso_account_id_in_table_users.py | 30 +++
---
aurweb/db.py | 30 ++
1 file changed, 30 insertions(+)
diff --git a/aurweb/db.py b/aurweb/db.py
index 1ccd9a07..02aeba38 100644
--- a/aurweb/db.py
+++ b/aurweb/db.py
@@ -10,6 +10,8 @@ except ImportError:
import aurweb.config
+engine = None # See get_engine
+