Commit graph

38 commits

Author SHA1 Message Date
FloRide1
a12fdc7d61
feat(tests): Add basic integration test 2024-09-20 17:13:52 +02:00
FloRide1
fcbc0fac7b
feat(tests): Add test related utils function 2024-09-20 17:13:46 +02:00
FloRide1
f1d4a9c3a7
feat(tests): Add keycloak testcontainer module 2024-09-20 17:13:34 +02:00
FloRide1
03d657179e
deps: Add multiple depencies related to testings in dev-deps 2024-09-20 17:13:21 +02:00
9dd85a7703
fix: use custom reqwest::Client in middleware
previously the middlewares would use the default `reqwest::Client` even
if the `OidcClient` is created with a custom client.
Now the middleware uses the `reqwest::Client` used during creation of
`OidcClient`.
2024-09-06 20:53:12 +02:00
202b61fa83
fix: correct error handling in rp initiated logout
Previously the extractor would return `ExtractorError::Unauthorized` when the issuer
does not provide a end_session_endpoint.
Now it will return a `ExtractorError::RpInitiatedLogoutNotSupported`.
2024-08-30 10:33:07 +02:00
32ecc2041b
merge pr #16: "Fix two typos in README.MD" 2024-08-30 10:19:28 +02:00
Armin
bda8797960
Fix two typos in README.md 2024-08-30 09:45:59 +02:00
e62aba722c
feat: automated integration test for example/basic
Adds automated CI integration tests to the basic example.
The integration tests launch and configure a keycloak server, launch the
example and test its functionality with a headless browser.
2024-05-17 16:41:49 +02:00
c9f63180b3
feat: add additional constructors for OidcClient
Adds `discover_new_with_client` and `from_provider_metadata` functions
to `OidcClient` to allow for custom client configurations as requested
in #12.
2024-05-17 16:09:25 +02:00
43406661f6
v0.4.0 & dependency update 2024-04-28 10:52:41 +02:00
88aed8e903
Merge PR #11: compatibility to kanidm 2024-04-28 10:34:54 +02:00
Johann Vieselthaler
443389f3c4 feat: compatibility to kanidm
kanidm does'nt send session_state
2024-04-28 09:55:59 +02:00
ac3e0caa0b
implement fix for #10
fixed #10 by implementing a flag in the response extensions that
instructs the middleware to clear the session. The flag is automatically
set when using the `OidcRpInitiatedLogout` as a responder.

improved documentation

modified example to reflect api changes
2024-04-20 20:38:16 +02:00
a7b76ace76
Add version structure to README.md
Added the new branch and tag strategy in the README.md
2024-04-18 16:13:57 +02:00
98b4dea841
Merge branch 'rp-initiated-logout'
Implements a extractor to get the
[RP-Initiated Logout](https://openid.net/specs/openid-connect-rpinitiated-1_0.html) URL.
2024-03-26 21:18:02 +01:00
6528a6f247
Cleanup of RP-Initiated Logout
Added comments
Removed unwraps
Reworked Session container and middlewares
2024-03-26 21:15:21 +01:00
1844b880c1
Added first implementation of RP Initiated Logout
Created a new extractor for RP-Initiated-Logout and modified example to
use it.
2024-03-25 17:20:44 +01:00
a522b7936d
replace outdated test credentials with placeholder 2024-03-12 16:18:18 +01:00
84bd595ea1
repair example/basic tokio features 2024-03-10 20:22:56 +01:00
ca411cc2e3
increment minor version 2024-03-10 20:17:31 +01:00
2741a3ee28
Merge branch 'ci'
Added CI and moved examples to `examples` folder.
2024-03-08 17:23:11 +01:00
0b34935b5a
Dependency Update, Added examples/basic, CI
Updated the dependencies to the newest version.
Added `AsRef` and `Deref` traits to the extractors.
Moved the example from `README.md` to `examples/basic`.
Added a CI Pipeline.
2024-03-08 17:17:00 +01:00
abe316884e
increment minor version 2024-01-23 14:21:47 +01:00
8d0be319ad
Merge Pull Request #5 "feat: Handle Grant error while refreshing token"
Expired refresh_tokens weren't removed from the session causing a 500
Internal Server Error.
This PR removes the invalid request token when it is expired.
2024-01-23 14:17:55 +01:00
Quentin
60f10cf986
Merge fac75702e9 into dacaedf9ca 2024-01-22 17:14:39 +01:00
MATILLAT Quentin
fac75702e9
feat: Handle Grant error while refreshing token
Signed-off-by: MATILLAT Quentin <qmatillat@gmail.com>
2024-01-20 21:35:19 +01:00
dacaedf9ca update tower-sessions 2024-01-16 12:02:09 +01:00
991f24e31f strip iss query parameter 2023-12-19 10:52:42 +01:00
Alex Ellwein
7746e6f682 feat: adapt example in README.md to compile with axum-0.7.* 2023-12-08 13:15:54 +01:00
e9ed927fd9
version change 2023-12-07 23:19:33 +01:00
49ef361f13
axum 0.7 2023-12-07 23:18:10 +01:00
830e54a443
version change 2023-11-29 19:21:52 +01:00
c9f04fe044
use refresh tokens 2023-11-29 19:07:34 +01:00
9ec50ba251
remove ? on empty query parameters 2023-11-05 16:26:34 +01:00
330e2b93f3
change version 2023-11-03 19:44:04 +01:00
aa05cf6bde
first implementation 2023-11-03 19:43:01 +01:00
1b3973064b
init 2023-11-02 23:16:46 +01:00