Commit graph

15 commits

Author SHA1 Message Date
JuliDi
094e9e5ff6
add UserInfoClaims, add untrusted_audiences, add tracing 2025-11-24 13:01:15 +01:00
JuliDi
992cdb8ef9
use openidconnect ClientId and ClientSecret directly instead of Box<str> 2025-11-21 13:20:18 +01:00
19adcbabd2
fix: fixed redirect_uri with handler_uri in session
Previously the redirect_uri was the uri of the handler that needed
authentication.
Now one fixed redirect_uri for the entire application is used that will
redirect the user to the correct handler after successful
authentication.
This commit should fix: #28, #27, #26, #21
2025-04-18 16:23:21 +02:00
58369449cf
feat: add typestate OidcClient builder
The previous generator functions for `OidcClient` have been replaced by
a Builder.
With this change the suggested changes by #14 and #21 have been
implemented.
2025-02-18 21:32:19 +01:00
MATILLAT Quentin
10349c61b5
chore!: Remove ref from http_client in constructors
Signed-off-by: MATILLAT Quentin <qmatillat@gmail.com>
2025-01-29 15:16:32 +01:00
MATILLAT Quentin
2800b88b82
chore(deps): Update to openidconnect 0.4
Signed-off-by: MATILLAT Quentin <qmatillat@gmail.com>
2025-01-29 15:16:24 +01: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
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
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
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
c9f04fe044
use refresh tokens 2023-11-29 19:07:34 +01:00
aa05cf6bde
first implementation 2023-11-03 19:43:01 +01:00
1b3973064b
init 2023-11-02 23:16:46 +01:00