mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-03 12:26:03 +02:00
Currently most requests to the authenticate service will result in a log entry with the message "authenticate: origin blocked". This may be confusing, as the request is not in fact blocked; instead, what happens is that no special CORS headers are added to the response. Let's reverse the logging behavior, and instead log a message only for those requests with a valid signature, where we do add CORS headers to the response. Add a unit test case exercising the CORS middleware. |
||
---|---|---|
.. | ||
events | ||
authenticate.go | ||
authenticate_test.go | ||
config.go | ||
handlers.go | ||
handlers_test.go | ||
identity.go | ||
middleware.go | ||
state.go |