Implement NetKingdom identity shell for coulomb.social (CSOC-WP-0002)
Django scaffold aligned with the business delivery lane: tenant-keyed Member model without passwords, identity app as sole OIDC/session boundary, dev-claims login, authenticated /app/ shell, ADR-0001, and tests. T01/T02/T05/T06 done; OIDC registration, real user-engine HTTP, flex-auth, and packaging remain open.
This commit is contained in:
parent
2ec7761504
commit
01da195c13
51 changed files with 2215 additions and 41 deletions
23
coulomb_social/settings/test.py
Normal file
23
coulomb_social/settings/test.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
from .base import * # noqa: F403
|
||||
|
||||
DEBUG = False
|
||||
SECRET_KEY = "test-secret-key"
|
||||
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||||
|
||||
DATABASES = {
|
||||
"default": {
|
||||
"ENGINE": "django.db.backends.sqlite3",
|
||||
"NAME": ":memory:",
|
||||
}
|
||||
}
|
||||
|
||||
OIDC_ENABLED = False
|
||||
USER_ENGINE_BASE_URL = ""
|
||||
FLEX_AUTH_BASE_URL = ""
|
||||
|
||||
# Whitenoise manifest not required in tests
|
||||
STORAGES = {
|
||||
"staticfiles": {
|
||||
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue