You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't consistent, though, with how other builders in Spring Security work. Generally speaking, builders should respect the order in which its methods are invoked,
should cause the builder to give precedence to the authorities given since that's what was called last.
The reason for this is so that apps can more easily build helper methods that construct and return an OidcLoginRequestPostProcessor for further configuration:
Currently, the
OidcLoginRequestPostProcessor
documentation states:This means that if an app does:
Then the second call will have no effect.
This isn't consistent, though, with how other builders in Spring Security work. Generally speaking, builders should respect the order in which its methods are invoked,
Instead,
should cause the builder to give precedence to the authorities given since that's what was called last.
The reason for this is so that apps can more easily build helper methods that construct and return an
OidcLoginRequestPostProcessor
for further configuration:And then
will work as expected.
The text was updated successfully, but these errors were encountered: