Auth window doesn't redirect back with approval

I changed the config to have the AUTH through the browser and it worked for a while. But today it stopped working.
After typing the correct credentials, the window refreshes, you can see in the title that it was updated with the token and everything, but it doesn’t send it to the terminal i tried to connect with so i cannot proceed.
This is how the window title look:

I don’t know why that is happening but i tried both chrome and firefox.
I’m on Mac with ver 13 OS.