Missing parameters. Use either:
?state=XYZ&code=ABC
to store a code
?state=XYZ
to retrieve a code