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

POST to http://localhost:8080/refresh results in 401 Unauthorized #5

Closed
ziadloo opened this Issue Feb 14, 2017 · 5 comments

Comments

Projects
None yet
6 participants
@ziadloo

ziadloo commented Feb 14, 2017

The Spring guide says that we should be able to refresh the client by sending a POST request to http://localhost:8080/refresh but doing so will result in an unauthorized 401 response.

$ curl -X POST http://localhost:8080/refresh {"timestamp":1487113045770,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/refresh"}

@gregturn

This comment has been minimized.

Contributor

gregturn commented Feb 14, 2017

Possibly due to 1.5.1 locking down actuator by default. Comments @dsyer?

@dsyer

This comment has been minimized.

Contributor

dsyer commented Feb 15, 2017

Yes that would be it. I guess we need management.security.enabled=false for this guide.

@Cepr0

This comment has been minimized.

Cepr0 commented Mar 7, 2017

we need management.security.enabled=false for this guide.
Thanks @dsyer, that helped!

@alibaseit

This comment has been minimized.

alibaseit commented Mar 16, 2017

Thanks
management.security.enabled=false
solved my problem too.

@dsyer dsyer closed this in ac32d42 Mar 16, 2017

@dulipchandana

This comment has been minimized.

dulipchandana commented Jul 20, 2018

management.security.enabled=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment