buildClientCallbackError

Append an RFC 6749 §4.1.2.1 authorization error (and, when present, the client's original state) as query parameters to the client's dynamic redirect_uri, producing the Location the proxy 302s to when the upstream authorization server redirects back with an error instead of a code. error is mandatory; errorDescription and errorUri are appended only when non-empty. Symmetric to buildClientCallbackRedirect.

@safe @safe
string
buildClientCallbackError
(,
string error
,,
string errorUri
,)