This commit is contained in:
Tobe O 2019-05-02 03:28:48 -04:00
parent e960bdd49f
commit 3a152d97eb

View file

@ -29,10 +29,8 @@ class Pkce {
state,
uri: uri));
} else if (codeChallenge?.isNotEmpty != true) {
throw AuthorizationException(ErrorResponse(
ErrorResponse.invalidRequest,
'Missing `code_challenge` parameter.',
state,
throw AuthorizationException(ErrorResponse(ErrorResponse.invalidRequest,
'Missing `code_challenge` parameter.', state,
uri: uri));
}