Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The address module can't use directly #8701

Closed
onewe opened this issue Jul 7, 2022 · 3 comments · Fixed by #8727
Closed

The address module can't use directly #8701

onewe opened this issue Jul 7, 2022 · 3 comments · Fixed by #8727

Comments

@onewe
Copy link
Collaborator

onewe commented Jul 7, 2022

if you start the address module directly, you wont be able to use it. the module depends on spring-security and is used the default setting, so if you open your browser and access http://localhost:8080, it will go to login page.
如果直接启动 address 模块, 是不能使用的. 这个模块依赖了 spring-security 并且使用的是默认配置,所以打开浏览器访问http://localhost:8080将会跳转到login页面

Does it need to ignore about the spring-security configuration?
需要忽略掉spring-security相关配置嘛?

@pixystone
Copy link
Contributor

Make ignore-urls includes serverlist controller endpoints.

@pixystone
Copy link
Contributor

Some ops api need to be secured.

@onewe
Copy link
Collaborator Author

onewe commented Jul 8, 2022

Ok, I got.

@i will resolve it@

onewe added a commit to onewe/nacos that referenced this issue Jul 11, 2022
KomachiSion pushed a commit that referenced this issue Jul 14, 2022
* [ISSUE #8701] ignore getServerList url

Close #8701

* add some unit test for auth

- use http basic authentication
- disable csrf

* fix ci error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants