alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.29k stars 12.84k forks source link

Spring Security instance can't be discovered by Nacos #1604

Closed Aknifejackzhmolong closed 5 years ago

Aknifejackzhmolong commented 5 years ago

EN

I hoped to build my SOA project with Nacos as service registry, but when config completed I found that my oauth server which included spring security 5.x was not registered!

I guess it may be caused by spring cloud version

我在使用Nacos搭建SpringCloud微服务时遇到了问题,Nacos的服务列表中没有出现我用Spring Security写的SSO单点登录的鉴权服务。 我不知道是哪里出现了问题,因为项目启动时并没提示任何错误。 我只能想到可能是我使用的SpringCloud的版本为Edgware.SR2导致的

nacos-bot commented 5 years ago

Hi @Aknifejackzhmolong, we detect non-English characters in the issue. This comment is an auto translation from @nacos-bot to help other users to understand this issue. We encourage you to describe your issue in English which is more friendly to other users.

Spring Security instance can't be discovered by Nacos

EN

I hoped to build my SOA project with Nacos as service registry, but when config completed I found that my oauth server which included spring security 5.x was not registered!

I guess it may be caused by spring cloud version

in

I am having trouble using Nacos to build SpringCloud microservices. The SSO single sign-on authentication service I wrote with Spring Security does not appear in Nacos's service list. I don't know where the problem is, because the project did not prompt any errors when it started. I can only think of the version of SpringCloud that I am using, which is caused by Edgware.SR2.

Aknifejackzhmolong commented 5 years ago

problem solve! https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E