Open Pryanic opened 6 years ago
Hi,Pryanic
To make logout work, you need to make some minor changes to the project.
Add the following code to SecurityConfiguration in api-gateway
.logout().logoutRequestMatcher(new AntPathRequestMatcher("/logout"))
.logoutSuccessUrl("/uaa/logout")
Add the following code to LoginConfiguration in uaa-service
.logout().logoutRequestMatcher(new AntPathRequestMatcher("/logout"))
.logoutSuccessUrl("/login")
It has been tested and can work normally.
I tried to use your project. I run this application. After that I move to localhost:8765/dummy authorized and got hello world but after I logout and went to localhost:8765/dummy and I got hello world page. Is it expect?