docs/aws-sso.md: setup guide, modes per device type, log reference, troubleshooting

Also: unprompted-login back-off now matches the guide (30 min, 1 h, 2 h,
then 4 h; the first retry was 1 h); README links the guide.
This commit is contained in:
pi@mbp-m1-2020
2026-10-11 23:00:17 +02:00
parent 0717a5476f
commit 40643454f0
4 changed files with 191 additions and 6 deletions
+2 -2
View File
@@ -155,8 +155,8 @@ test("mode: command beats .env beats default local; old names map; junk ignored"
assert.equal(normalizeMode("headless"), null);
});
test("autoLoginGap: 30 min, doubling, capped at 4 h", () => {
assert.deepEqual([0, 1, 2, 3, 4, 9].map((n) => autoLoginGap(n) / 60e3), [30, 60, 120, 240, 240, 240]);
test("autoLoginGap: retries 30 min, 1 h, 2 h, then every 4 h; never closer than 30 min", () => {
assert.deepEqual([0, 1, 2, 3, 4, 9].map((n) => autoLoginGap(n) / 60e3), [30, 30, 60, 120, 240, 240]);
});
test("ntfyRequest: title/click/priority headers, bearer only when given, ASCII-safe; bad URLs refused", () => {