Repository navigation
Handy-App für Android und Anmeldung mit Google - #36
Merged
Merged
Conversation
- Anmeldung mit Google über Supabase (OAuth mit PKCE, komplett auf dem Server), Knopf auf /konto, erscheint automatisch, sobald Google in Supabase eingeschaltet ist - Neue Android-App für Handy und Tablet (android-app/): WebView auf die Web-App, Google-Anmeldung im Custom Tab mit Rücksprung über cinemood://anmelden und an die App gebundenem Ticket, QR-Links /r/… öffnen direkt in der App (assetlinks.json), Teilen-Menü, Update-Prüfung - Workflow baut die APK, Release handy-app, Kurzlink /handy-app - Anleitungen: docs/android-app.md, Google-Einrichtung in docs/login-einrichten.md - E2E-Test tests/e2e/google.mjs
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 neu ist
Anmeldung mit Google (Web und App)
/konto. Er erscheint von selbst, sobald Google in Supabase eingeschaltet ist (Server fragt/auth/v1/settings, 5 Minuten gemerkt)./api/auth/google→ Supabase → Google →/api/auth/google/zurueck(OAuth mit PKCE, Prüfwert im httpOnly-Cookie). Danach gilt wie beim Mail-Login die eigene Konto-Sitzung.Handy-App (
android-app/, Paketapp.cinemood.handy)cinemood://anmelden?ticket=…. Das Ticket ist 5 Minuten gültig, signiert und an ein Geheimnis gebunden, das nur die App kennt (der Server sieht vorher nur den SHA-256). Eingelöst wird es per POST in der WebView (/api/auth/app, nur mit App-Kennung im User-Agent)./r/…) und Bewertungslinks öffnen direkt in der App (/.well-known/assetlinks.json, Fingerabdruck des Sideload-Schlüssels, perANDROID_CERT_SHA256überschreibbar).handy-app, Einstellungen über langes Drücken aufs App-Symbol.android-app.ymlbaut die APK, Kurzlink/handy-app.Anleitungen:
docs/android-app.md, Google-Einrichtung indocs/login-einrichten.md.Vor dem Merge / danach
docs/login-einrichten.md#google-login-einrichteneinrichten.Tests
tests/e2e/google.mjs(Browser-Login, Abbruch, Code ohne Cookie, kein offener Redirect, App-Ticket mit falschem Geheimnis / außerhalb der App abgelehnt, gleiches Konto).npm run e2e(alle 5 Läufe), Lint, Typecheck, Unit-Tests undnext buildlokal grün (SQLite, AUTH_MOCK/TMDB_MOCK).Generated by Claude Code