Context if my scope has openid, it will return null and then use the OidcAuthorizationCodeAuthenticationProvider 图片

But I hope not, because the target website not support Oidc. it just use 'openid' scope. if use OidcAuthorizationCodeAuthenticationProvider ,i must use jwk-set-uri,or else throw INVALID_STATE_PARAMETER_ERROR_CODE

so can i override OAuth2LoginAuthenticationProvider?

Comment From: jzheaux

Thanks for getting in touch! It feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add more detail if you feel this is a genuine bug.