Joe Grandja
fff64db0e2
Improve ClaimAccessor getClaimAsInstant
...
Fixes gh-5250
8 years ago
Joe Grandja
2356749cc3
Add test NimbusUserInfoResponseClient sets Accept header to JSON
...
Issue gh-5294
8 years ago
Joe Grandja
b8f225c49e
NimbusUserInfoResponseClient sets Accept header to JSON
...
Fixes gh-5294
8 years ago
Joe Grandja
4cc5705ae5
HttpSessionOAuth2AuthorizationRequestRepository removes empty Map from session
...
Fixes gh-5263
8 years ago
Joe Grandja
49b63e260d
OAuth2LoginAuthenticationFilter should handle null ClientRegistration
...
Fixes gh-5251
8 years ago
Joe Grandja
6095340e93
OAuth2AuthorizationRequestRedirectFilter -> Reuse code for baseUrl
...
Fixes gh-5153
8 years ago
Joe Grandja
d8f91e4261
Fix NPE with exp claim in NimbusJwtDecoderJwkSupport
...
Fixes gh-5168
8 years ago
Joe Grandja
2bd31c96ed
ClaimAccessor.getClaimAsInstant() converts Long or Date
...
Fixes gh-5191, Fixes gh-5192
8 years ago
Joe Grandja
526e0fdd4f
Add OAuth2 Client HandlerMethodArgumentResolver
...
Fixes gh-4651
8 years ago
Joe Grandja
982fc360b2
Add support for authorization_code grant
...
Fixes gh-4928
8 years ago
Joe Grandja
ce2f669245
Remove state assertion when loading OAuth2AuthorizationRequest
...
Fixes gh-5163
8 years ago
Christoph Dreis
d07cfe655d
Use Supplier variants of Assert methods
8 years ago
Joe Grandja
bb15213091
Ensure consistency by using Collection<GrantedAuthority> type
...
Fixes gh-5143
8 years ago
Joe Grandja
90f9d728cd
Allow extension for OAuth2Error
...
Fixes gh-5148
8 years ago
Rob Winch
bf41d48718
HttpSessionOAuth2AuthorizationRequestRepository support distributed HttpSession
...
Previously HttpSessionOAuth2AuthorizationRequestRepository
getAuthorizationRequest attempted to update the state of HttpSession as
well as getting the Map of OAuth2AuthorizationRequest. This had a few
problems
- First it was confusing that a get method updated state
- It worked when the session was in memory, but would not work when the
HttpSesson was persisted to an external store (i.e. Spring Session) since
after updating the Map, there was no invocation to update
This commit cleans up the logic and ensures that the values are explicitly
set in the HttpSession so it works with a session persisted in an external
store.
Fixes: gh-5146
8 years ago
Rob Winch
04e2e86e6e
Polish HttpSessionOAuth2AuthorizationRequestRepositoryTests
...
Fixes: gh-5147
8 years ago
Joe Grandja
59cef7d339
HttpSessionOAuth2AuthorizationRequestRepository handle multiple OAuth2AuthorizationRequest per session
...
Fixes gh-5110
8 years ago
Joe Grandja
a5bd76b6ed
Revert authorization_code grant support
...
This reverts commit eae7afd9aa .
8 years ago
Joe Grandja
eae7afd9aa
Add support for authorization_code grant
...
Fixes gh-4928
8 years ago
Joe Grandja
7eb58ee7d9
DefaultOAuth2UserService -> assert UserInfo Uri is set
...
Fixes gh-4992
8 years ago
Joe Grandja
6b24aaf6f5
Add javadoc for spring-security-oauth2-jose
...
Fixes gh-4885
8 years ago
Joe Grandja
fe2ac00deb
Add javadoc for spring-security-oauth2-client
...
Fixes gh-4884
8 years ago
Joe Grandja
e6cac604f3
Add javadoc for spring-security-oauth2-core
...
Fixes gh-4883
8 years ago
Joe Grandja
1d32fffc1d
Make OAuth2Error Serializable
...
Fixes gh-4944
8 years ago
Johnny Lim
57353d18e5
Use diamond type
8 years ago
Eddú Meléndez
c16456623f
Remove unused imports
8 years ago
Joe Grandja
268a1dc06e
DefaultOAuth2User is Serializable
...
Fixes gh-4917
8 years ago
Rob Winch
ae664c33b1
Polish
...
Fix compile warnings in ClientRegistrationTests
8 years ago
Johnny Lim
edccafca84
Create OAuth2AuthorizationResponse lazily
...
This commit creates `OAuth2AuthorizationResponse` as lazily as possible to prevent the creation when `authorizationRequest` is `null`.
Fixes gh-4848
8 years ago
Joe Grandja
c04b3b4114
Exclude well-known ports in expanded redirect-uri
...
Fixes gh-4836
8 years ago
Johnny Lim
b6895e6359
Apply Checkstyle WhitespaceAfterCheck module
8 years ago
Joe Grandja
dd33f0a7de
ClientRegistration.redirectUri -> redirectUriTemplate
...
Fixes gh-4827
8 years ago
Joe Grandja
e098c3707e
Update default redirect-uri to use 'baseUrl' template variable
...
Fixes gh-4826
8 years ago
Johnny Lim
d900f2a623
Remove unused imports
...
This commit also adds UnusedImportsCheck Checkstyle module.
8 years ago
Joe Grandja
872a8f3189
Change constructor param order in oauth2 client filters
...
Fixes gh-4818
8 years ago
Joe Grandja
426c034c01
OidcUserService uses custom userNameAttributeName
...
Fixes gh-4812
8 years ago
Joe Grandja
6775d9fdd8
OAuth2AccessTokenResponse should account for expires_in <= 0
...
Fixes gh-4810
8 years ago
Joe Grandja
63e2db72ea
Add tests to oauth2-jose
...
Fixes gh-4806
8 years ago
Joe Grandja
473ac0e37c
Add tests to oauth2-client
...
Fixes gh-4299
8 years ago
Joe Grandja
db35dc6c03
Add tests to oauth2-core
...
Fixes gh-4298
8 years ago
Joe Grandja
ef9cd76607
Polish oauth2
...
Fixes gh-4758
8 years ago
Joe Grandja
d435f149eb
Polish spring-security-oauth2-jose
...
Fixes gh-4755
8 years ago
Joe Grandja
511d702ee0
Remove JwtDecoderRegistry
...
Fixes gh-4754
8 years ago
Rob Winch
d9584384c4
Move collectClaims to OidcUserAuthority
...
Fixes gh-4749
8 years ago
Rob Winch
3d065b5afd
Add getIdToken getUser to OidcUser
...
Fixes gh-4748
8 years ago
Rob Winch
c1c726f123
Polish InMemoryClientRegistrationRepository
...
Issue: gh-4745
8 years ago
Rob Winch
a3e38fec47
Remove AuthorizationRequestUriBuilder
...
Make this API private since we don't have concrete use cases for exposing
it yet.
Fixes gh-4742
8 years ago
Joe Grandja
c3d2effc1d
Polish OAuth2AuthorizedClientService
...
Fixes gh-4746
8 years ago
Joe Grandja
b496ad4d86
Polish OAuth2LoginAuthenticationToken
...
Fixes gh-4744
8 years ago
Rob Winch
8032baa296
Polish InMemoryClientRegistrationRepository
...
- use Map.get
- Construct with stream()
- Add tests
- Remove unnecessary unmodifiableCollection (already unmodifiable)
Fixes gh-4745
8 years ago