zitadel/internal/api/ui
Livio Spring 26c7d95c88
fix: potential panics in login and return proper http 405 (#8065)
# Which Problems Are Solved

We identified some parts in the code, which could panic with a nil
pointer when accessed without auth request.
Additionally, if a GRPC method was called with an unmapped HTTP method,
e.g. POST instead of GET a 501 instead of a 405 was returned.

# How the Problems Are Solved

- Additional checks for existing authRequest
- custom http status code mapper for gateway

# Additional Changes

None.

# Additional Context

- noted internally in OPS
2024-06-07 07:30:04 +00:00
..
console feat: block instances (#7129) 2024-01-17 10:16:48 +00:00
login fix: potential panics in login and return proper http 405 (#8065) 2024-06-07 07:30:04 +00:00