Fix OIDC “state” parameter for Authelia compatibility

This PR ensures that the OIDC login flow always generates, stores, and validates a secure “state” parameter, resolving the Authelia integration error (“The state is missing or does not have enough characters and is therefore considered too weak”).

  • Implements secure state generation and session storage in the OIDC login flow.
  • Validates the state parameter on callback for CSRF protection and OIDC spec compliance.

Resolves #143

/claim #143

Claim

Total prize pool $150
Total paid $0
Status Pending
Submitted June 12, 2025
Last updated June 12, 2025

Contributors

Félicien Diouf

@feliciien

100%

Sponsors

CL

Claper

@ClaperCo

$150