Here is my configuration in security and the problem is all the requests such as /v3/api-docs will be redirected to /login or /register
/v3/api-docs
/login
/register