Changelog: connect-link only from the site's own origin
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
be30812423
commit
713b28e79f
+2
-1
@@ -25,7 +25,8 @@ This heading and the 1.17.2 section below (never released on its own) become one
|
||||
|
||||
- **The button** (state block on the e-mail tab, method IWSN): shown while the service offers the confirmation page
|
||||
(`connectAvailable` in `/v1/status`) or before the site has enrolled. A click asks the site's server for the link
|
||||
(`POST /api/iapl/mail-relay/connect-link`, admin only, enrolling first when there is no token); the server asks the
|
||||
(`POST /api/iapl/mail-relay/connect-link`, admin only, from the site's own origin, enrolling first when there
|
||||
is no token); the server asks the
|
||||
service (`POST /v1/connect`), checks that the link begins with the service's own `{base}/connect?`, and hands it
|
||||
over without storing or logging it; the browser opens it with `noopener noreferrer`. The panel then asks
|
||||
`/v1/status` every 5 seconds for at most 10 minutes; every load of the panel asks too while the site waits.
|
||||
|
||||
Reference in New Issue
Block a user