I have the same issue, I need to redirect to the login page every time the user sends a request to the /oauth2/authorize.