Ensure ID Token is updated after refresh token (Reactive)#17246
Ensure ID Token is updated after refresh token (Reactive)#17246evgeniycheban wants to merge 1 commit intospring-projects:mainfrom
Conversation
|
Thanks for your patience @evgeniycheban and apologies that I could not get this into I have scheduled this for |
be68a71 to
ac99b3b
Compare
|
Hi @jgrandja, I have rebased my branch and also updated license headers to meet new pattern, let me know your feedback once you review it, thanks. |
|
@evgeniycheban I took a look at the PR and noticed that the implementation is different compared to the Servlet implementation.
The preference is to keep the Servlet and Reactive implementations as close as possible. Is there a reason you did not make use of Just a heads up that I'm on PTO starting tomorrow and returning Jan 5 so I'll reply when I return and we can work through this. |
|
Hi @jgrandja, thank you for reviewing it. The reason I did not use the |
|
@evgeniycheban Got it. I'll do a detailed review next week and we can work towards merging this. |
jgrandja
left a comment
There was a problem hiding this comment.
Thank you for your patience @evgeniycheban.
Overall, this looks good and I believe we are fairly close to merging.
Please see my review comments for further updates.
...ringframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizedClientProvider.java
Outdated
Show resolved
Hide resolved
...gframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizationSuccessHandler.java
Outdated
Show resolved
Hide resolved
...gframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizationSuccessHandler.java
Show resolved
Hide resolved
.../client/web/reactive/function/client/ServerOAuth2AuthorizedClientExchangeFilterFunction.java
Show resolved
Hide resolved
...gframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizationSuccessHandler.java
Outdated
Show resolved
Hide resolved
8874f50 to
1ea9456
Compare
1ea9456 to
4e1f26c
Compare
4e1f26c to
0590138
Compare
037e6fb to
38f0a6d
Compare
jgrandja
left a comment
There was a problem hiding this comment.
Thank you for the updates @evgeniycheban. I think we'll be ready to merge after you address some minor feedback.
Also, please add an integration test in ServerOAuth2AuthorizedClientExchangeFilterFunctionITests to ensure RefreshTokenReactiveOAuth2AuthorizationSuccessHandler is fully tested.
...gframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizationSuccessHandler.java
Outdated
Show resolved
Hide resolved
...gframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizationSuccessHandler.java
Outdated
Show resolved
Hide resolved
...gframework/security/oauth2/client/RefreshTokenReactiveOAuth2AuthorizationSuccessHandler.java
Outdated
Show resolved
Hide resolved
...springframework/security/oauth2/client/web/DefaultReactiveOAuth2AuthorizedClientManager.java
Outdated
Show resolved
Hide resolved
|
Hi @jgrandja, thank you for the review, after we moved |
63b2016 to
eb31053
Compare
d62bccf to
8efd4eb
Compare
|
@evgeniycheban Instead of adding Please ensure to update |
8efd4eb to
9f4a0ec
Compare
|
Hi @jgrandja, I've pushed the latest changes, please have a final look :) |
9f4a0ec to
3b15cf0
Compare
|
@evgeniycheban The addition of Looking at my previous comment:
This is where things took a turn and after reviewing the API's, I now feel Having said that, your initial motivation to associate |
Hi @jgrandja, no worries, I will do it and notify you once I finish. Initially, I wasn't sure about the design of this feature and chose the minimal changes path to see how it would work in the current architecture. |
Closes spring-projectsgh-17188 Signed-off-by: Evgeniy Cheban <mister.cheban@gmail.com>
3b15cf0 to
26670e5
Compare
|
Hi @jgrandja, I've updated the PR, please have a look when you have time, thanks. |
|
Thank you for all the updates and patience @evgeniycheban. Very solid work! 👍 This is now merged. |
…hen jose is on classpath Issue gh-17246
Closes gh-17188