Commit graph

22 commits

Author SHA1 Message Date
JuliDi
a5e0bc705e
update example to use exported types for Scope and IssuerUrl 2025-11-25 13:55:27 +01:00
JuliDi
542fe66313
re-export openidconnect 2025-11-25 13:28:08 +01:00
JuliDi
094e9e5ff6
add UserInfoClaims, add untrusted_audiences, add tracing 2025-11-24 13:01:15 +01:00
6280ad62cc
fix: repair examples/basic 2025-11-21 13:51:37 +01:00
00136320a9
removed integration test from examples/basic
Integrations tests will be re-implemented on the main-crate.
See #20 and #35.
2025-11-21 13:47:37 +01:00
JuliDi
992cdb8ef9
use openidconnect ClientId and ClientSecret directly instead of Box<str> 2025-11-21 13:20:18 +01:00
65cb175603
test: fix chromium-headless and issuer_url
fix for #25
2025-04-18 16:33:24 +02:00
fa5faed004
fix: issuer URL at / path
Previously the issuer url was received as an http::Uri.
When it was converted into a String, a `/` was appended which caused the
IssuerURL validation check in openidconnect to fail.
Now the IssuerURL is received as a String.
2025-04-18 16:23:24 +02: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
74551fb479
update dependencies 2025-01-12 22:39:51 +01:00
MATILLAT Quentin
3b4bbb6978
chore: Update axum to 0.8
Signed-off-by: MATILLAT Quentin <qmatillat@gmail.com>
2025-01-11 17:38:34 +01:00
89c3a9ccb4
Dependency Update
Updated dependencies:
- tower-sessions to 0.13
2024-09-23 21:44:37 +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
43406661f6
v0.4.0 & dependency update 2024-04-28 10:52:41 +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
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
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