Quick look at the documentation reveals:
https://api.imgur.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&response_type=REQUESTED_RESPONSE_TYPE&state=APPLICATION_STATE
Those are get parameters, not headers. So you have to pass the dictionary as params
instead of headers
.