Resolved issue related to reset password
This commit is contained in:
@@ -106,6 +106,8 @@ public class SecurityConfig {
|
|||||||
.requestMatchers("/saml2/**").permitAll() // SAML login initiation
|
.requestMatchers("/saml2/**").permitAll() // SAML login initiation
|
||||||
.requestMatchers("/swagger-ui/**").permitAll() // Swagger docs
|
.requestMatchers("/swagger-ui/**").permitAll() // Swagger docs
|
||||||
.requestMatchers("/v1/api-docs/**").permitAll() // API docs
|
.requestMatchers("/v1/api-docs/**").permitAll() // API docs
|
||||||
|
.requestMatchers("/v1/user/reset-password/initiate").permitAll()
|
||||||
|
.requestMatchers("/v1/user/reset-password").permitAll()
|
||||||
.anyRequest().authenticated())
|
.anyRequest().authenticated())
|
||||||
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED))
|
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED))
|
||||||
.exceptionHandling(exceptionHandling -> exceptionHandling
|
.exceptionHandling(exceptionHandling -> exceptionHandling
|
||||||
|
|||||||
Reference in New Issue
Block a user