Repository navigation
feat(lti): LTI Dynamic Registration per Einmal-Link — basicbar-lti 0.2.0 - #60
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…RegistrationError Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stätigungsseite Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…, Tool-Info ohne lti-register Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 25, 2026
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.
Setzt das Design aus #59 für das Paket um (Aufgaben 1–5 des Plans): Ein Tool-Admin erzeugt einen Einmal-Link, der Moodle-Admin trägt ihn in Moodle als Tool-URL ein, und Tool und Moodle registrieren sich gegenseitig per LTI Dynamic Registration.
Neu in
basicbar-lti0.2.0LtiRegistrationToken(Migration0002): nur SHA-256 des Links gespeichert, 7 Tage gültig (LTI_REGISTRATION_TOKEN_TTL), einmal verwendbar.LtiPlatformund Verbrauch des Links in einer Transaktion — bei jedem Fehler bleibt der Link offen.lti_register: die Seite, die Moodle öffnet. Nachfrage, wenn der Issuer schon aktiv registriert ist; Erfolgsseite mit Nachschritt „Startcontainer auf Neues Fenster“;frame-ancestorsnur für den Origin der Moodle-Konfiguration und nur bei gültigem Link; nie 5xx (der Link steht in der URL);no-store/no-referrer.LtiRegistrationTokenViewSet(Link nur in der Create-Antwort),LtiToolInfoViewperreverse()stattFRONTEND_BASE_URL(+register_url), System-Checkbasicbar_lti.W001fürLTI_REGISTRATION_ALLOW_HTTPohneDEBUG.Für die Tools ändert sich ohne Verdrahtung nichts — außer dass
LtiToolInfoViewdie URLs aus der Anfrage baut (hinter dem ProxySECURE_PROXY_SSL_HEADER/USE_X_FORWARDED_HOST, beides in abstimmbar und ausleihbar gesetzt) undicon_urlausLTI_TOOL_REGISTRATION["logo_path"]kommt.Prüfung: Paket-Suite 116 Tests grün. Jede Aufgabe einzeln reviewt, danach Gesamt-Review des Branches mit einem Korrektur-Durchgang.
Nach dem Merge: Tag
lti/v0.2.0auf den Merge-Commit, dann Konsumenten-PRs abstimmbar und ausleihbar (Aufgaben 6/7) und Abnahme gegen ein echtes Moodle (Aufgabe 8).🤖 Generated with Claude Code