Is it possible to get an access_token from Spring OAuth2 server without client secret?

后端 未结 4 1109
不思量自难忘°
不思量自难忘° 2020-12-16 06:57

I am using Spring Security\'s OAuth2 server implementation. I am trying to get the access_token from the servers\' /oauth/token endpoint using the OAuth2 \"Pass

4条回答
  •  渐次进展
    2020-12-16 07:19

    Spring Boot's implementation requires that a client-secret be passed in to authenticate. You can however override this by creating a bean of type AuthorizationServerConfigurer and configuring it yourself. This is the link to the documenation...

提交回复
热议问题