cduvray
e409bee3b3
fix: merge errors
2023-03-30 07:36:52 +02:00
Felix B. Bause
9054f400dc
feat: implementation of named cookie as jwt source ( #10 )
...
* feat: working but naive implementation of named cookie as jwt source
* refactor: add with_jwt_source to JwtAuthorizer. Make Bearer default
* fix: fix the demo-server. Remove JWTSource
* refactor: rename with_jwt_source() -> jwt_source()
2023-03-30 07:25:39 +02:00
Cyril Plisko
783ed7e340
feat: allow raw PEM file content as an input for JwtAuthorizer ( #15 )
...
* Allow raw PEM file content as an input for JwtAuthorizer
* Add tests for text-based KeySourceType variants
2023-03-28 08:03:43 +02:00
perillamint
2bca19be64
Remove 'static lifetime requirement ( #8 )
...
Co-authored-by: Yonghyu Ban <yhban@cleanc.kr>
2023-03-22 07:42:07 +01:00
cduvray
5b99335da6
chore: release 0.8.1
2023-03-16 07:14:50 +01:00
cduvray
ca14e15b67
refacor: KeyStore, KeySource
...
- (performance) build DecodingKey once (per refresh)
- (security) store algorithm in KeyData
2023-03-15 08:21:04 +01:00
cduvray
8f55bf9d3e
fix: clippy warning (rust 1.68)
2023-03-15 08:13:18 +01:00
cduvray
6dfc895876
fix(discovery): replace join and add tests
2023-03-15 08:04:25 +01:00
kschibli
2bb4b4ca34
fix: Allow non-root OIDC issuer ( #5 )
...
My OIDC endpoint is not at the root and I couldn't use `discover_jwks`
because it would strip the path of the issuer.
Before:
```
issuer: 'https://example.com/myissuer/ '
result: 'https://example.com/.well-known/openid-configuration '
```
After:
```
issuer: 'https://example.com/myissuer/ '
result: 'https://example.com/myissuer/.well-known/openid-configuration '
```
I checked, and having the discovery url not at the root seems to be
supported by the standard:
https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationRequest
2023-03-15 07:26:15 +01:00
cduvray
ab5f3ffc2c
build: ci on push.main
2023-03-02 08:14:36 +01:00
cduvray
8b3dcd4b24
chore: dependencies update
...
- tower-http 0.3 -> 0.4 (as it was changed for axum 0.6.9)
- tokio 1.0 -> 1.25 (same version as in axum 0.6.9)
- other demo-server dependencies
2023-03-02 08:12:06 +01:00
cduvray
1537739f19
doc: fix. documentation links
2023-03-02 07:43:26 +01:00
cduvray
3b2ad550c3
chore: release 0.8.0
2023-02-28 07:47:46 +01:00
cduvray
1d5bdf83ca
docs: badges
2023-02-27 08:37:36 +01:00
cduvray
683f932468
feat: configurable validation (validation: iss, aud, exp, nbf, leeway) ( fixes #1 ) ( #4 )
2023-02-26 20:30:55 +01:00
cduvray
28c7eedcd5
fix: from_ec, from_ed ( #3 )
...
* fix: from_ec, from_ed
* chore: fix clippy warnings
2023-02-23 21:22:55 +01:00
cduvray
1579676948
build: ci
2023-02-23 08:01:31 +01:00
cduvray
3d8b5a7f46
chore: release 0.7.0
2023-02-14 07:35:12 +01:00
cduvray
857af52271
doc: README.md, CHANGELOG.md
2023-02-14 07:30:45 +01:00
cduvray
a8b510a03e
refactor: refresh simplification
...
- difference between refresh_interval and minimal_refresh_interval was no clear,
- therfore they were merged
2023-02-13 08:32:02 +01:00
cduvray
9c45a43584
chore: key file renaming
2023-02-12 09:04:38 +01:00
cduvray
ae44a8e961
feat: integration tests
2023-02-11 20:48:59 +01:00
cduvray
a58b367c90
fix: tests
2023-02-06 23:02:21 +01:00
cduvray
3a6a31b418
chore: release 0.6.0
2023-02-05 09:50:31 +01:00
cduvray
f1b11ecf3b
refactor: better url error checking (jwks, oidc)
2023-02-05 09:46:20 +01:00
cduvray
b189caaab8
refactor: Authorizer::build
2023-02-01 22:09:06 +01:00
cduvray
6ff5d88ae9
refactor: demo server (clean, refactor, docs)
2023-01-31 08:38:59 +01:00
cduvray
43f2523ec6
feat: oidc issuer
2023-01-29 19:38:26 +01:00
cduvray
d8fb138d46
chore: fmt
2023-01-28 08:43:51 +01:00
cduvray
ec02b70a99
chore: release 0.5.0
2023-01-28 08:43:19 +01:00
cduvray
8f989bb80c
chore: loosening deps
2023-01-27 21:31:59 +01:00
cduvray
1203163b0c
feat: refresh configuration
2023-01-27 21:31:19 +01:00
cduvray
7b6f8fb4c5
fix: JwtClaims error message missplaced
2023-01-24 07:31:50 +01:00
cduvray
215bc173c6
fix: clippy warning
2023-01-23 23:37:04 +01:00
cduvray
2c0266b4f8
refactor: JwtAuthorizer creation simplification
2023-01-23 23:36:29 +01:00
cduvray
9101f91ad8
fix: claims extractor should not panic
2023-01-23 23:12:03 +01:00
cduvray
8f03e8e1b6
chore: release 0.4.0
2023-01-21 08:34:54 +01:00
cduvray
141738419d
docs
2023-01-21 08:34:11 +01:00
cduvray
dff56bf058
refactor: AuthError (2)
2023-01-20 22:29:26 +01:00
cduvray
6535408979
fix: claims_checker
2023-01-20 08:05:42 +01:00
cduvray
9f459fb362
refactor: AuthError
2023-01-20 08:04:49 +01:00
cduvray
582206b24c
chore: release 0.3.2
2023-01-18 07:38:00 +01:00
cduvray
af29f39656
fix: jwks store unavailable should be error 500
...
- fix
- 403 -> 401 for some errors
- errors refactoring
2023-01-16 23:33:04 +01:00
cduvray
4c696471de
test: jwks store unavailable should be error 500
...
- refactor
2023-01-15 15:56:29 +01:00
cduvray
89006df2af
fix: panic when missing token
2023-01-14 09:13:52 +01:00
cduvray
7009f645e6
test: integration tests
2023-01-14 09:07:02 +01:00
cduvray
8a687f0474
chore: version 0.3.0
2023-01-13 07:50:50 +01:00
cduvray
c726a87fd6
doc: changelog added
2023-01-13 07:50:11 +01:00
cduvray
9bd99b2a13
feat: building layer from rsa, ec, ed, secret
2023-01-12 06:59:54 +01:00
cduvray
b0667729a3
chore: fmt
2023-01-09 07:37:25 +01:00