Preflight Checklist
Problem Description
It is not secure enough to send auth params via GET params, because it persists in the browser and can be easily compromised and forged. Also, GET params can become large.
Proposed Solution
Implement PAR in Dex. A simple workflow is:
- Accept post requests on
/auth endpoint
- Create an AuthRequest
- Return the redirect URL with the auth request ID as a state
- On redirect, check whether the state exists. If so, proceed.
Protect the state with HMAC.
Alternatives Considered
No response
Additional Information
https://datatracker.ietf.org/doc/html/rfc9126
Preflight Checklist
Problem Description
It is not secure enough to send auth params via GET params, because it persists in the browser and can be easily compromised and forged. Also, GET params can become large.
Proposed Solution
Implement PAR in Dex. A simple workflow is:
/authendpointProtect the state with HMAC.
Alternatives Considered
No response
Additional Information
https://datatracker.ietf.org/doc/html/rfc9126