You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.
Thank you for the great tutorial, I have been following this for quite sometime but I am still stuck in the part where SecurityConfig for Discovery Server is defined. I have also changed the code inside the SecurityConfig file according to the latest version in which SecurityFilterChain is used instead of the WebSecurityConfigurerAdapter.
The defaultZone for each service has been updated to incorporate the username and password. Everything inside the application.properties for the services and discovery server is correctly configured. However the 401 error still shows up. What am I missing here? Any help would be greatly appreciated, thank you!
The text was updated successfully, but these errors were encountered:
It turns out, the SecurityConfig file needs to be in the same directory as the SpringBootApplication file. Inside your SecurityConfig file disable the CSRF.
Hello,
Thank you for the great tutorial, I have been following this for quite sometime but I am still stuck in the part where SecurityConfig for Discovery Server is defined. I have also changed the code inside the SecurityConfig file according to the latest version in which SecurityFilterChain is used instead of the WebSecurityConfigurerAdapter.
The defaultZone for each service has been updated to incorporate the username and password. Everything inside the application.properties for the services and discovery server is correctly configured. However the 401 error still shows up. What am I missing here? Any help would be greatly appreciated, thank you!
The text was updated successfully, but these errors were encountered: