Felipe Fey
5b027c7c78
fixing lint and tests
2025-06-11 08:28:43 -03:00
Felipe Fey
02c755edd0
unit tests
2025-06-11 07:09:14 -03:00
Felipe Fey
c898672fcb
renaming clear all, removing panik
2025-06-09 14:07:00 -03:00
Felipe Fey
c454e8d4d9
Flush al sessions in logout all
2025-06-09 11:14:21 -03:00
Anderson Valério
c922ebecb0
fix audit log
2025-05-09 06:05:01 -03:00
Anderson Valério
1102ad256c
revoke access token on logout
2025-05-07 08:09:50 -03:00
Anderson Valério
bd198f3dc4
fix audit
2025-01-14 15:59:05 -03:00
Harpal, Sailinder
acd05b771d
use existing code for user authentication
2025-01-14 15:43:41 +01:00
Anderson Valério
b50dc018f2
add auditlog
2024-12-30 15:02:53 -03:00
Anderson Valério
f46f7a39f3
update test for refresh token change
2024-12-27 12:02:26 -03:00
Anderson Valério
72f89818fa
add doc for new env
2024-12-27 10:19:59 -03:00
Anderson Valério
6cf267d368
clear session when refresh token fail to generate a new acess token
2024-12-27 08:38:23 -03:00
Anderson Valério
fb64fad321
add BackendLogoutAllSessionsURL configuration
2024-12-27 08:37:43 -03:00
Harpal, Sailinder
2f165d5eab
Change text
2024-12-19 15:52:54 +01:00
Harpal, Sailinder
b1bfa56d0e
Add audit log
2024-12-19 14:31:01 +01:00
Anderson Valério
f321907ee7
update lint in pics/audit
2024-12-09 22:09:52 -03:00
Anderson Valério
262f01e313
Merge remote-tracking branch 'upstream/release/v7.7.1' into merge_7.7.1
2024-12-09 21:03:44 -03:00
Anderson Valério
0961bc3fda
revert test change
2024-12-06 12:04:44 -03:00
Anderson Valério
76fb7074f1
comment unused function
2024-12-05 15:36:06 -03:00
Anderson Valério
4f04b856e5
pics legacy options
2024-12-05 14:51:24 -03:00
Anderson Valério
125e2f0ab6
pics cookie refresh
2024-12-05 14:51:06 -03:00
Anderson Valério
6e288ec2b6
moving audit to pics folder
2024-12-04 09:02:21 -03:00
Anderson Valério
b5ebcb2a13
Revert "moving audit to pics folder"
...
This reverts commit 59f46e6c9f .
2024-12-04 08:32:15 -03:00
Anderson Valério
fd6f9c0c63
reverting formatting changes
2024-12-02 10:51:28 -03:00
Anderson Valério
9db036e422
revert html formatting
2024-12-02 10:36:58 -03:00
Anderson Valério
f0c2b53784
reverting changes that only cause conflicts
2024-11-29 15:15:55 -03:00
Anderson Valério
59f46e6c9f
moving audit to pics folder
2024-11-29 15:14:10 -03:00
Nuno Miguel Micaelo Borges
ff761d2523
fix: runtime error: index out of range (0) with length 0 ( #2328 )
...
* Issue 2311: runtime error: index out of range [0] with length 0 while extracting state of of the csrf
---------
Co-authored-by: tuunit <jan@larwig.com>
2024-10-08 14:40:41 +02:00
rd-danny-fleer
642ba174d4
fix: unable to use hyphen in JSON path for oidc-groups-claim option ( #2619 )
2024-10-07 20:08:44 +02:00
tuunit
bae168f06a
better handling of default transport modification
2024-10-06 21:43:38 +02:00
tuunit
8fd7312a90
fix: self signed certificate handling
2024-10-05 17:29:37 +02:00
Johann
65e83fc3cc
fix(csrf): possible infinite loop ( #2607 )
2024-09-30 18:20:43 +02:00
Anderson Valério
cb1ecf8886
add audit metric
2024-09-23 15:48:29 -03:00
yudrywet
4fe0d5659b
chore: fix function names in comment
...
Signed-off-by: yudrywet <yudeyao@yeah.net>
2024-09-15 09:34:15 +02:00
Ian Roberts
16f032bce9
Clarify what rewriteTarget means for a file: upstream
2024-09-02 11:27:28 +01:00
Ian Roberts
cb53401c3a
Don't use http.StripPrefix when a file: upstream has rewriteTarget
...
A regular (non-regex) file: upstream needs to strip the prefix so that it is equivalent to "mounting" the specified directory under the configured path in the URL space, but with regex rewriting the target path is determined by the rewriteTarget.
Fixes oauth2-proxy/oauth2-proxy#2242
2024-09-02 11:27:28 +01:00
Ian Roberts
b618ed7150
Test for a file:/// upstream combined with regex path rewrite
2024-09-02 11:27:28 +01:00
Teko
f9a0a4a280
doc: fix typo in function description ( #2738 )
2024-08-20 18:41:23 +02:00
Koen van Zuijlen
343bd61ebb
chore(deps): Updated to ginkgo v2 ( #2459 )
...
* chore(deps): Updated to ginkgo v2
* fix basic auth test suite cleanup
* fix redis store tests
* add changelog entry
---------
Co-authored-by: Jan Larwig <jan@larwig.com>
2024-07-18 22:41:02 +02:00
af su
211c605875
docs: additional notes about available claims for HeaderValue ( #2674 )
...
* docs: additional notes on HeaderValue
* docs: add code comments
* fix missing preferred_username
* regenerate docs
* add changelog entry
---------
Co-authored-by: afsu <saf@zjuici.com>
Co-authored-by: Jan Larwig <jan@larwig.com>
2024-07-18 22:31:19 +02:00
Leandro Lafin
b8ba647fb2
Fixing unit tests
2024-07-15 12:06:42 -03:00
Leandro Lafin
1b4c3d756e
Session aware logout, backend logout url approach
2024-07-15 10:14:25 -03:00
Leandro Lafin
e684125ca7
upgrading to go 1.21
2024-07-15 09:54:57 -03:00
Leandro Lafin
f1c58097d3
Improved dev environment
2024-07-15 09:00:36 -03:00
Leandro Lafin
c156c9f732
Add ability to configure username for Redis cluster connections
2024-07-15 08:43:15 -03:00
Jacob Middag
3045392c17
feat: Replace default Go user-agent with oauth2-proxy and version ( #2570 )
...
* feat: Replace default Go user-agent with oauth2-proxy and version
* Add to CHANGELOG
* Make userAgentTransport configurable and composable
* Use correct naming convention for DefaultHTTPClient
* Move version to own package and use named arguments
* Update version path in Makefile
* Fix import path in Makefile
* Change importpath in dist.sh
* Minor style issues
2024-07-14 21:09:17 +01:00
Leandro Lafin
822cfad994
Feature/add option to skip loading claims from profile url
2024-07-12 15:57:12 -03:00
Leandro Lafin
634fbe6dc6
Feature - Add env variable support for alpha struct
2024-07-12 15:29:38 -03:00
Leandro Lafin
2434369974
Add possibility to encode the state param as UrlEncodedBase64
2024-07-12 15:20:57 -03:00
Leandro Lafin
1fc5b5cf15
Update go-jose dependency as requested in #2350
2024-07-12 15:07:29 -03:00