1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-28 09:08:44 +02:00
oauth2-proxy/pkg
Segfault16 965fab422d
Add API route config (#1760)
* Add API route config

In addition to requests with Accept header `application/json` return 401 instead of 302 to login page on requests matching API paths regex.

* Update changelog

* Refactor

* Remove unnecessary comment

* Reorder checks

* Lint Api -> API

Co-authored-by: Sebastian Halder <sebastian.halder@boehringer-ingelheim.com>
2022-09-11 16:09:32 +01:00
..
apis Add API route config (#1760) 2022-09-11 16:09:32 +01:00
app added tests for basic auth alert message feature 2022-06-30 18:11:43 +03:00
authentication/basic Watch the htpasswd file for changes and update the htpasswdMap (#1701) 2022-09-01 19:46:00 +01:00
clock Remove mutex from local Clock instances 2021-06-22 17:04:42 -07:00
cookies Add flags to define CSRF cookie expiration time and to allow CSRF cookies per request (#1708) 2022-08-31 23:27:56 +01:00
encryption PKCE Support (#1541) 2022-03-13 10:08:33 +00:00
header Ensure errors in tests are logged to the GinkgoWriter 2021-02-10 19:50:04 +00:00
http Added ability to specify allowed TLS cipher suites. 2022-08-31 17:55:06 -07:00
ip Fix import path for v7 (#800) 2020-09-29 17:44:42 +01:00
logger Request ID Logging (#1087) 2021-03-21 18:20:57 +00:00
middleware Implement refresh relying on obtaining lock 2022-02-16 10:16:13 +00:00
providers Discover signature algorithms from OIDC provider (#1662) 2022-05-29 13:48:09 +01:00
requests Create AppDirector for getting the application redirect URL 2021-06-19 11:23:32 +01:00
sessions adding IdleTimeout with the redis-connection-idle-timeout flag, to ke… (#1691) 2022-08-09 21:57:13 +01:00
upstream Implement configurable timeout for upstream connections 2022-05-18 11:41:17 +01:00
util Fix method deprecated error in lint (#1699) 2022-08-08 23:18:29 +01:00
validation Add API route config (#1760) 2022-09-11 16:09:32 +01:00
watcher Watch the htpasswd file for changes and update the htpasswdMap (#1701) 2022-09-01 19:46:00 +01:00