🔨 Allow invite link without login
This commit is contained in:
parent
b0e479f247
commit
b785f40e4f
@ -26,6 +26,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
|
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
|
||||||
.authorizeRequests()
|
.authorizeRequests()
|
||||||
.antMatchers("/api/v2/auth/**").permitAll()
|
.antMatchers("/api/v2/auth/**").permitAll()
|
||||||
|
.antMatchers("/api/v2/guild/inviteLink").permitAll()
|
||||||
.antMatchers("/swagger-ui/**").permitAll()
|
.antMatchers("/swagger-ui/**").permitAll()
|
||||||
.antMatchers("/swagger-ui.html").permitAll()
|
.antMatchers("/swagger-ui.html").permitAll()
|
||||||
.antMatchers("/v3/api-docs/**").permitAll()
|
.antMatchers("/v3/api-docs/**").permitAll()
|
||||||
|
Loading…
Reference in New Issue
Block a user