Commit graph

9 commits

Author SHA1 Message Date
JuliDi
094e9e5ff6
add UserInfoClaims, add untrusted_audiences, add tracing 2025-11-24 13:01:15 +01:00
861cb70cee
fix: #32 use OriginalUri for redirect_url 2025-11-06 18:56:33 +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
2800b88b82
chore(deps): Update to openidconnect 0.4
Signed-off-by: MATILLAT Quentin <qmatillat@gmail.com>
2025-01-29 15:16:24 +01: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
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
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
aa05cf6bde
first implementation 2023-11-03 19:43:01 +01:00