Josh Cummings
f631a0fcd5
Polish ClientRegistrationsTests
...
Simplified the assertion so that it is focused on the core
behavior being verified. This will likely also make the test
more stable when updating Spring Framework versions.
Issue gh-16860
9 months ago
Evgeniy Cheban
0e84f31a00
Add ClientRegistration's RestClient failed attempts information to exception message
...
Closes gh-16860
Signed-off-by: Evgeniy Cheban <mister.cheban@gmail.com>
9 months ago
Tran Ngoc Nhan
a53ca7c3d0
Update ServerOAuth2AuthorizedClientExchangeFilterFunction javadoc
...
Closes gh-16555
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
11 months ago
Rob Winch
adb303e152
Add testRuntimeOnly junit-platform-launcher
...
Closes gh-16755
11 months ago
Pat McCusker
2bd3cadde8
Use possessive pronoun rather contraction
...
Signed-off-by: Pat McCusker <patmccusker14@gmail.com>
11 months ago
Josh Cummings
244fd2eb51
Support Serialization in Exceptions
...
Issue gh-16276
1 year ago
Josh Cummings
8735368d9e
Don't Support Serialization of Jackson Modules
...
Issu gh-16276
1 year ago
Josh Cummings
b9911fd522
Add serialVersionUID to Authentication classes
...
Issue gh-16276
1 year ago
Steve Riesenberg
0eb6acde96
Polish gh-16133
1 year ago
Kai Zander
73f3f75712
Always return current ClientRegistration in `loadAuthorizedClient`
...
This changes `InMemoryOAuth2AuthorizedClientService.loadAuthorizedClient`
(and its reactive counterpart) to always return `OAuth2AuthorizedClient`
instances containing the current `ClientRegistration` as obtained from
the `ClientRegistrationRepository`.
Before this change, the first `ClientRegistration` instance was cached,
with the effect that any changes made in the `ClientRegistrationRepository`
(such as a new client secret) would not have taken effect.
Closes gh-15511
1 year ago
Joe Grandja
a8c4d6cead
Require Locale argument for toLower/toUpperCase usage
1 year ago
Joe Grandja
a7bf8f7cc6
Require Locale argument for toLower/toUpperCase usage
1 year ago
Joe Grandja
0eaffb37e7
Require Locale argument for toLower/toUpperCase usage
1 year ago
Tran Ngoc Nhan
e76de931ce
Polish Optional usage
1 year ago
Tran Ngoc Nhan
ffed4ea1dc
Polish diamond usage
1 year ago
Steve Riesenberg
dab6950231
Move parametersCustomizer
...
The parametersCustomizer was introduced in 6.4.0-M4 with
DefaultOAuth2TokenRequestParametersConverter. However, it cannot be
applied to all parameters and so does not fully solve gh-11298.
This commit moves the customizer to the abstract class so it can be
applied to all parameters.
Closes gh-15939
1 year ago
Tran Ngoc Nhan
31f8caec5f
Polish diamond operator usage
1 year ago
Giovanni Lovato
a3fd551fb5
Add ClientRegistrations.fromOidcConfiguration method
...
ClientRegistrations now provides the fromOidcConfiguration
method to create a ClientRegistration.Builder from a map
representation of an OpenID Provider Configuration Response.
This is useful when the OpenID Provider Configuration is not
available at a well-known location, or if custom validation
is needed for the issuer location (e.g. if the issuer is only
reachable via a back-channel URI that is different from the
issuer value in the configuration).
Fixes: gh-14633
1 year ago
Steve Riesenberg
f5991ae176
Allow access token request parameters to override defaults
...
Closes gh-11298
1 year ago
Steve Riesenberg
9ba2435cb2
Support refresh token for Token Exchange
...
Closes gh-15534
1 year ago
Steve Riesenberg
e11c188122
Customize the strategy for resolving the principal
...
Closes gh-15826
1 year ago
Steve Riesenberg
c1a303bc92
Add tests for overriding parameters
...
Issue gh-15298
Issue gh-11298
1 year ago
Steve Riesenberg
5d8cf6a8bc
Polish gh-13588
1 year ago
Steve Riesenberg
63f018eb18
Update tests using deprecated classes
...
Issue gh-15737
1 year ago
Steve Riesenberg
7490a8162b
Deprecate default OAuth2AccessTokenResponseClients
...
Closes gh-15737
1 year ago
Steve Riesenberg
2cead9b73f
Add RestClient implementations
...
Issue gh-15298
1 year ago
Steve Riesenberg
e3c19ba86c
Add RestClient interceptor
...
Closes gh-13588
1 year ago
Marcus Hert Da Coregio
aa9c1bab67
Upgrade to Spring Framework 6.2.0-M4
...
Closes gh-15266
2 years ago
Steve Riesenberg
7c45ebd81c
Polish gh-15012
2 years ago
Filip Hrisafov
99aee99b34
Expose user name attribute name in `OAuth2UserAuthority`
2 years ago
Steve Riesenberg
e34621ec2c
Polish gh-14977
2 years ago
JANG
1695d03b72
Assert WebSession is not null
...
Issue gh-14975
2 years ago
Marcus Hert Da Coregio
08f11f06ab
Revert unnecessary commits from main
...
Issue gh-15016
2 years ago
Steve Riesenberg
2598bf8c37
Polish gh-14859
2 years ago
Crain-32
d0adb2aa70
Simplify Disabling Encoding Client ID and Secret
...
Closes gh-11440
2 years ago
Steve Riesenberg
05d3beb6a8
Polish gh-13648
2 years ago
ch4mpy
b69939c1e5
Getters for OAuth2AuthorizedClientId properties
...
Expose getters for principalName and clientRegistrationId which compose an OAuth2AuthorizedClientId
2 years ago
Josh Cummings
b1b84f9b8a
Revert "Support overriding RestOperations in OidcIdTokenDecoderFactory"
...
This reverts commit 9c352c4b4b .
Issue gh-14178
2 years ago
Josh Cummings
5a50bfccac
Revert "Support overriding WebClient in ReactiveOidcIdTokenDecoderFactory"
...
This reverts commit 0041c658de .
Issue gh-14178
2 years ago
Max Batischev
ff19f04fca
Add JwtValidators append to default
...
Implemented simplified creation of default OAuth2TokenValidator with additional validators.
Closes gh-14831
2 years ago
Josh Cummings
b648a24f5f
Polish Type Conversion API
...
Issue gh-6245
2 years ago
Steve Riesenberg
e52dd81d03
Customize mapping the OidcUser
...
Closes gh-14672
2 years ago
Steve Riesenberg
85c3d0ab13
Add reactive support for OAuth 2.0 Token Exchange Grant
...
Issue gh-5199
2 years ago
Steve Riesenberg
d2fe9094a9
Add servlet support for OAuth 2.0 Token Exchange Grant
...
Issue gh-5199
2 years ago
greg.lee
07ac0b616b
Introduce Customizable AuthorizationFailureHandler
...
Closes gh-13793
2 years ago
Rob Winch
750cb30ce4
Add AuthenticationTrustResolver.isAuthenticated
2 years ago
Steve Riesenberg
96e3e4f8b1
Customize when user info is called
...
Closes gh-13259
2 years ago
ubaid4j
e77126740d
Add ReactiveOidcIdTokenDecoderFactory#setWebClientResolver
...
Closes gh-13274
2 years ago
Josh Cummings
d7599ab192
Polish setAttributesConverter
...
- Add Tests
- Add Reactive Support
Issue gh-14186
2 years ago
ahmd-nabil
04f0f2597a
Polish DefaultOAuth2UserService
...
Signed-off-by: ahmd-nabil <ahm3dnabil99@gmail.com>
2 years ago