~bigbes/lethe

c832d32cd653b5741d4bff2182304e5eadc3d41e — Eugene Blikh a month ago ff633de
docs(lethe-oidc-stub): record execute deviations
1 files changed, 7 insertions(+), 0 deletions(-)

M docs/tasks/lethe-oidc-stub.md
M docs/tasks/lethe-oidc-stub.md => docs/tasks/lethe-oidc-stub.md +7 -0
@@ 255,3 255,10 @@ Rollback per phase: each commit is independently revertable. PH3 alone reverts c
- PH2                     -> IF4              @ internal/config/config.go, internal/config/config_test.go, config.example.yaml
- PH3  IF1, IF2, IF3, IF4 ->                  @ internal/server/auth/devstub.go, internal/server/auth/devstub_test.go, cmd/lethe/main.go

## Conclusion

### Deviations from plan

- PH1 — added `Stub.Issuer() string` getter beyond the planned `SetIssuer`. **Why:** `middleware_test.go` builds `config.OIDCConfig{Issuer: ...}` after `httptest.NewServer` returns, and needs to read the value back from the stub. Read-only; no mutable-state concern.
- PH1 — local helper renamed from `newVerifier` (plan) to `newOIDCVerifier`. **Why:** symbol clarity in a test file that already has `newAuthenticator`, `newStub`; one verifier/authenticator name pair reads better. Test-file only.