Changeset bf72108 in Klonkt for CHANGELOG.de.md


Ignore:
Timestamp:
07/19/2026 04:04:25 AM (7 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
4407c67
Parents:
dd568e7
git-author:
Robin <roboburr@…> (07/19/2026 04:04:05 AM)
git-committer:
Robin <roboburr@…> (07/19/2026 04:04:25 AM)
Message:

Fix: OAuth consent hands off to native apps via an interstitial

After Allow/Deny the server 302-redirected to the client's redirect_uri. For a
native custom scheme (com.klonkt.shaer:/oauth) that 302 is silently dropped by
mobile browsers (no user gesture to launch an external app), so Allow/Deny
appeared to do nothing. finishRedirect() now keeps the 302 for http/https
clients but, for a non-http redirect_uri, serves a tiny interstitial that
meta/JS auto-forwards AND shows an 'Open the app' tap link — a tap is the user
gesture Android needs, and iOS's ASWebAuthenticationSession intercepts either
navigation. Used for both allow (code) and deny/error. Verified: native →
interstitial HTML with the code + tap link; https → still 302; deny → error in
the interstitial. 80 tests green.

Co-Authored-By: Claude Opus 4.8 <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.de.md

    rdd568e7 rbf72108  
    2828
    2929### Behoben
     30- **OAuth-Zustimmung übergibt jetzt zuverlässig an native Apps.** Nach
     31  Allow/Deny war die Weiterleitung an ein natives Custom-Scheme (z. B.
     32  `com.klonkt.shaer:/oauth`) ein einfacher 302, den mobile Browser stillschweigend
     33  verwerfen. Der Zustimmungsschritt liefert nun eine kleine Zwischenseite für
     34  Nicht-http-Redirect-URIs, die automatisch weiterleitet und einen "App öffnen"-
     35  Tipp-Link bietet (ein Tipp startet die App auf Android zuverlässig; iOS'
     36  Web-Auth-Session fängt sie ohnehin ab). Web-Clients (http/https) bekommen
     37  weiterhin einen 302.
    3038- **Besucher können auf die eigenen Kommentare des Seiteninhabers antworten.**
    3139  Der Knopf "über das Fediverse antworten" erschien nur bei Kommentaren anderer;
Note: See TracChangeset for help on using the changeset viewer.