Cloud sso
来自ling
basic-auth,spring-session,oauth2 with spring boot admin
[1] https://blog.csdn.net/qq_37170583/article/details/80704660
demo https://gitee.com/zkane/springboot2-oauth2
no suitable HttpMessageConverter found for response type [interface java.util.Map] and content type [text/html;charset=UTF-8]
- 数据库写错了-->密码没加密-->spring 这块的代码太烂了
security .allowFormAuthenticationForClients() .tokenKeyAccess("isAuthenticated()") .checkTokenAccess("permitAll()");
-->
security .allowFormAuthenticationForClients() .tokenKeyAccess("isAnonymous()") .checkTokenAccess("permitAll()");
{"msg":"You need to authenticate to see a shared key","code":1,"data":null}
- JdbcClientDetailsService#loadClientByClientId错误.麻痹的
- ProviderManager#authenticate org.springframework.security.authentication.BadCredentialsException: Bad credentials
- logging.level.root=erro-->logging.level.root=info