Rename OAuth2ClientProperties.Registration.redirectUri to OAuth2ClientProperties.Registration.redirectUriTemplate.
The redirect-uri property supports URI template variables so just to be explicit, we should rename as per above. And the property should be renamed to redirect-uri-template as well.
This update has been pushed to the latest snapshot of Spring Security. See #4827