ultisuite-backend/internal/authentik/flow_errors.go
R3D347HR4Y 8bbc539d77 feat(auth): implement flow completion and rate limiting for authentication flows
- Added a new handler for completing authentication flows, including session validation and cookie management.
- Implemented flow rate limiting to restrict the number of flow start requests per client IP.
- Enhanced flow session management with Redis support for persistent session storage.
- Updated existing handlers to integrate the new flow completion logic and error handling for various session states.
- Introduced unit tests for the new flow completion and rate limiting functionalities to ensure reliability.
2026-06-20 01:09:42 +02:00

11 lines
344 B
Go

package authentik
import "errors"
var (
ErrFlowSessionNotFound = errors.New("flow session not found")
ErrFlowSessionSlugMismatch = errors.New("flow session slug mismatch")
ErrFlowSessionNotCompleted = errors.New("flow session not completed")
ErrFlowSessionAlreadyCompleted = errors.New("flow session already completed")
)