-1
I am working on an application in Rails and doing tests via Postman, the application usually works normally after having logged in some user, I can test the endpoints correctly. But when I stay with the user logged in for a certain time, about 5 minutes at times, I get this Loop Redirect error:
And in the Rails terminal I get several unauthorized errors:
I have no idea what the problem might be and I haven’t been able to find others like it to try to solve it. The application uses Rails 6.1.3.2 and Devise 4.8.0.