shrub/pkg
fang ef89cf2410
eyre: rework eauth to be client-initiated
Instead of doing formal network traffic on the host-side whenever a
login attempt gets initiated, we now do it no earlier than when we're on
the client-side. This has the important property that network traffic
can only be initiated by authenticated HTTP requests. The previous
implementation, where hosts sent pleas when an unauthenticated HTTP
client said then wanted to log in, was vulnerable to abuse.

So now, formally, the eauth flow starts at the client's confirmation
screen. There is an optional step preceding this, where an attempt is
started on the host (and data is still stored for this), but to get the
redirect target, the host uses remote scry to get the eauth URL out of
the client ship.

Hosts now also give attempt-specific return URLs, useful in case they
are accessible (or even serving different content) from different
hostnames.
2023-06-09 15:46:04 +02:00
..
arvo eyre: rework eauth to be client-initiated 2023-06-09 15:46:04 +02:00
autoprop Merge pull request #6328 from urbit/autoprop-link 2023-03-16 08:46:20 -07:00
base-dev Revert "hoon: add doc parsing flag to +vang" 2023-05-02 10:31:42 -04:00
herb Revert "Revert "Merge naive/aggregator into poprox/naive-tests"" 2021-08-19 16:09:28 -07:00
interface dbug: support eyre eauth state & functionality 2023-05-18 23:40:16 +02:00
landscape Revert "hoon: add doc parsing flag to +vang" 2023-05-02 10:31:42 -04:00
symbolic-merge.sh pkg/symbolic-merge.sh from @Fang- 2021-08-30 20:19:16 +03:00