Files
ziti/controller
Andrew Martinez 79c2bc9aa4 fixes #3788 return proper OIDC error codes and HTTP status codes (#3790)
- migrates from op.NewProvider() to LegacyServer/RegisterLegacyServer,
  routing all OIDC endpoint errors through op.WriteError which maps
  server_error to HTTP 500 and supports custom status codes via
  op.StatusError
- returns oidc.ErrInvalidClient() from AuthorizeClientIDSecret for
  unknown clients and bad secrets (HTTP 400 with invalid_client)
- returns oidc.ErrInvalidGrant() from parseRefreshToken,
  parseAccessToken, createAccessToken, and renewRefreshToken for
  client-supplied token errors (HTTP 400 with invalid_grant)
- fixes copy-paste bug in parseAccessToken that reported "invalid
  refresh_token" for access token errors
- plain Go errors from server-side failures (identity read, JSON
  marshal, token signing, Raft dispatch) now correctly surface as
  HTTP 500 via WriteError's DefaultToServerError handling
- adds integration tests covering error codes for token endpoint,
  login endpoint, userinfo endpoint, and end_session endpoint
2026-04-24 11:04:04 -04:00
..
2025-04-02 15:28:59 -04:00
2022-06-30 17:45:08 -04:00
2022-06-30 17:45:08 -04:00
2025-09-19 16:47:48 -04:00
2023-09-28 23:34:28 -04:00
2023-08-16 12:39:59 -04:00
2025-04-02 15:28:59 -04:00
2025-04-02 15:28:59 -04:00
2025-04-02 15:28:59 -04:00
2025-03-18 15:32:44 -04:00
2025-04-02 15:28:59 -04:00