spring-security/oauth2
Gerardo Roza 95e0e7243d Save original request on oauth2Client filter
When we used the oauth2Client directive and requested an endpoint that
required client authorization on the authorization server, the
SPRING_SECURITY_SAVED_REQUEST was not persisted, and therefore after
creating the authorized client we were redirected to the root page ("/").

Now we are storing the session attribute and getting redirected back to
the original URI as expected.

Note that the attribute is stored only when a
ClientAuthorizationRequiredException is thrown in the chain, we dont
want to store it as a response to the
/oauth2/authorization/{registrationId} endpoint, since we would end
up in an infinite loop

Fixes gh-6341
2019-01-25 09:15:44 -06:00
..
oauth2-client Save original request on oauth2Client filter 2019-01-25 09:15:44 -06:00
oauth2-core authorization_uri Uses UriComponentsBuilder 2018-12-21 13:23:47 -07:00
oauth2-jose Update JwtTimestampValidator.java 2019-01-14 10:33:38 -07:00
oauth2-resource-server Introduce ReactiveJwtAuthenticationConverter 2018-12-17 14:12:53 -07:00