sage: Q175 SSO design, Mos C1 condition (mos-0977): straggler check before Jason step 4 in the phase 2 window
This commit is contained in:
1 parent
5fc73a729c
commit
b416d2ede9
1 file changed
+6
-2
@@ -338,10 +338,14 @@ them. Each entry has its own issuer, client, algs and subjects, and a session re
|
|||||||
1. Back up the store, the pointer, the unit and config.json.
|
1. Back up the store, the pointer, the unit and config.json.
|
||||||
2. Pin the phase 1 copy with the Console stopped. The copy's loader accepts a config with or without
|
2. Pin the phase 1 copy with the Console stopped. The copy's loader accepts a config with or without
|
||||||
`console`, so the bus and seats keep reading the old config.
|
`console`, so the bus and seats keep reading the old config.
|
||||||
3. Jason step 4: the `console.sso` key goes into config.json, written by Jason or by an agent on his go
|
3. Straggler check (Mos's C1 condition, mos-0977): list every running process, unit and timer that
|
||||||
|
still runs from the old copy and reads config.json. Each one is restarted on the new copy or shown
|
||||||
|
not to re-read config. The old loader refuses the key, so a straggler would fail on its next read.
|
||||||
|
Step 4 waits until the list is clean.
|
||||||
|
4. Jason step 4: the `console.sso` key goes into config.json, written by Jason or by an agent on his go
|
||||||
for that one key. The new loader reads it back (`scripts/mosaic-config.mjs` validate) before anything
|
for that one key. The new loader reads it back (`scripts/mosaic-config.mjs` validate) before anything
|
||||||
starts.
|
starts.
|
||||||
4. Start the Console with `--sso --send --tester-port 7333`.
|
5. Start the Console with `--sso --send --tester-port 7333`.
|
||||||
Acceptance: Jason signs in through the Console flow, sends one message and signs out. The forged-header
|
Acceptance: Jason signs in through the Console flow, sends one message and signs out. The forged-header
|
||||||
check (a request with `X-authentik-username` and no cookie gets 401) runs either on a scratch Console or
|
check (a request with `X-authentik-username` and no cookie gets 401) runs either on a scratch Console or
|
||||||
on live by Mos or Jason (B6). No agent sends the auth header to the live 7332 (section 8). The scratch
|
on live by Mos or Jason (B6). No agent sends the auth header to the live 7332 (section 8). The scratch
|
||||||
|
|||||||
Reference in new issue
Block a user