pomerium/internal/authenticateflow
Kenneth Jenkins ff1ef94b63 authenticateflow: add stateful flow
Add a new Stateful type implementing the stateful authentication flow
from Pomerium v0.20 and earlier.

This consists mainly of logic from authenticate/handlers.go previous to
commits 57217af and 539fd51.

One significant change is to set the default IdP ID when an IdP ID is
not provided in the request URL (e.g. when signing in directly at the
authenticate service domain). Otherwise, if session state is stored with
an empty IdP ID, it won't be valid for any route.
2023-12-06 18:33:00 -08:00
..
authenticateflow.go authenticateflow: move stateless flow logic (#4820) 2023-12-06 16:55:57 -08:00
events.go authenticateflow: move logAuthenticateEvent (#4821) 2023-12-06 17:14:20 -08:00
identityprofile.go authenticateflow: move stateless flow logic (#4820) 2023-12-06 16:55:57 -08:00
request.go authenticateflow: add stateful flow 2023-12-06 18:33:00 -08:00
request_test.go authenticateflow: move stateless flow logic (#4820) 2023-12-06 16:55:57 -08:00
stateful.go authenticateflow: add stateful flow 2023-12-06 18:33:00 -08:00
stateful_test.go authenticateflow: add stateful flow 2023-12-06 18:33:00 -08:00
stateless.go authenticateflow: move logAuthenticateEvent (#4821) 2023-12-06 17:14:20 -08:00