Spring security Secure/oauth/authorize端点与/oauth/token相同

Spring security Secure/oauth/authorize端点与/oauth/token相同,spring-security,oauth,oauth-2.0,spring-security-oauth2,Spring Security,Oauth,Oauth 2.0,Spring Security Oauth2,在OAuth 2 TokenEndpoint中,无论何时调用/OAuth/TokenEndpoint,都会调用BaseAuthenticationFilter并对客户端进行身份验证。但未为/oauth/authorize端点注册相同的BaseAuthenticationFilter 因此,主体对象没有被填充,并且对于/oauth/authorize映射为null 我们如何为/oauth/authorize endpoint注册相同的文件?您能详细说明您想要实现的目标吗?@SergeyPonoma

在OAuth 2 TokenEndpoint中,无论何时调用/OAuth/TokenEndpoint,都会调用BaseAuthenticationFilter并对客户端进行身份验证。但未为/oauth/authorize端点注册相同的BaseAuthenticationFilter

因此,主体对象没有被填充,并且对于/oauth/authorize映射为null


我们如何为/oauth/authorize endpoint注册相同的文件?

您能详细说明您想要实现的目标吗?@SergeyPonomarev