Template: auth 0.2.0 + ui 0.7.0 — basicbar_auth.urls, whoami_payload, Discovery-Fail-fast - #17
Merged
Merged
Conversation
…yload, Discovery-Fail-fast
Pins auf auth/v0.2.0 und ui/v0.7.0. config/urls.py bindet
basicbar_auth.urls ein (OIDC-Routen inkl. tolerantem Callback,
api/whoami/language/); accounts/views.py enthält nur noch whoami als
{**whoami_payload(request), …Feature-Flags}; accounts.User erbt language.
Settings brechen produktiv mit ImproperlyConfigured ab, wenn
OIDC_OP_ISSUER gesetzt ist, die Discovery aber keine Endpunkte lieferte.
Nagelprobe: Render (use_lti, github), ruff, Frontend-Build (280 kB ohne
TipTap), Backend im Container gegen Postgres: check, makemigrations
--check leer, Tests grün, Guard wirft ohne DEBUG und schweigt mit DEBUG.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was
Template-Nachzug zu #15 (ui 0.7.0) und #16 (auth 0.2.0):
auth/v0.2.0,ui/v0.7.0.config/urls.py:path("", include("basicbar_auth.urls"))+ eigenesapi/whoami/; die lokalenlogout_view/set_languageentfallen,accounts/views.pyist nur nochwhoami = {**whoami_payload(request), ai_enabled, content_*}.accounts.UsererbtlanguagevonAbstractBasicUser(Migration0001unverändert,makemigrations --checkleer).OIDC_OP_ISSUER, aber ohne auflösbare Endpunkte (Discovery unerreichbar) bricht der Start ohneDEBUGmitImproperlyConfiguredab statt jeden Login später scheitern zu lassen; mitDEBUGstartet der Stack weiter (Keycloak darf noch hochfahren).Verifiziert
use_lti=true,ci_host=github),ruffgrün, Frontendnpm install && buildgrün (280 kB, ohne TipTap).check,makemigrations --checkleer, Tests grün (inkl. Starter-Tests fürwhoami/set_language, die jetzt über die Paket-Route laufen).DEBUG, startet mitDEBUG.Danach
Konsumenten-PRs auth 0.2.0 für ausleihbar, abstimmbar, erkennbar, modulierbar (
migrate,include("basicbar_auth.urls"), lokale Views löschen).🤖 Generated with Claude Code