Link to PR: #288
Use case: when using a base64 encoded string, the value read from the location path when the user is redirected is not always the same as the one given to getAuthorizationUri.
Like the redirectUri, the state is an user input and as such not safe to be used in an url without escaping certain characters
Can we use encodeURIComponent on the state parameter?