Skip to content
Snippets Groups Projects
Commit 2a00d971 authored by Torbjørn Antonsen's avatar Torbjørn Antonsen
Browse files

fixed security configuration to allow access to endpoints

parent 1f5549f8
No related branches found
No related tags found
2 merge requests!13Variable refactor,!12fixed security configuration to allow access to endpoints
Pipeline #267633 passed
...@@ -54,7 +54,7 @@ public class SecurityConfiguration { ...@@ -54,7 +54,7 @@ public class SecurityConfiguration {
return httpSecurity return httpSecurity
.csrf(AbstractHttpConfigurer::disable) .csrf(AbstractHttpConfigurer::disable)
.authorizeHttpRequests(auth -> { .authorizeHttpRequests(auth -> {
auth.requestMatchers("/api/").permitAll(); auth.requestMatchers("/api/**").permitAll();
auth.anyRequest().authenticated(); auth.anyRequest().authenticated();
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment