I have been trying to use the oauth2 playground with the Laravel oauth2-server bundle and ran into an issue. I'm using header('location: to take me back to google after the authorization has happened. The string I'm putting into the redirect is
https://developers.google.com/oauthplayground/?state=1&code=d84024740acc22646b9636421406c88abeab9c8e
However, when I get to it the & has been replaced with & which is causing the playground to not go to step 2. What is going on?