integration refactoring

responseType required, it is written in the protocol rfc.

Example authorization request.

```GET /authorize?response_type=code&client_id=s6BhdRkqt3&state=xyz
        &redirect_uri=https%3A%2F%2Fclient%2Eexample%2Ecom%2Fcb HTTP/1.1```