At times, my broker won't load any page within the application because of a 301 redirect loop. I have noticed that sometimes I can fix the issue by visiting the "/" route first and then visiting the "/login" route, but this can even prove unsuccessful.
This is what my laravel-sso.php config file looks like on the broker:
When I can get the page to load, I cannot login. After stepping through the code within the debugger, the error that I am seeing is "Invalid session id."
At times, my broker won't load any page within the application because of a 301 redirect loop. I have noticed that sometimes I can fix the issue by visiting the "/" route first and then visiting the "/login" route, but this can even prove unsuccessful.
This is what my
laravel-sso.php
config file looks like on the broker:This is what my LoginController looks like:
I have also added the necessary environment variables to the
.env
file.