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, state,
uri: uri)); uri: uri));
} else if (codeChallenge?.isNotEmpty != true) { } else if (codeChallenge?.isNotEmpty != true) {
throw AuthorizationException(ErrorResponse( throw AuthorizationException(ErrorResponse(ErrorResponse.invalidRequest,
ErrorResponse.invalidRequest, 'Missing `code_challenge` parameter.', state,
'Missing `code_challenge` parameter.',
state,
uri: uri)); uri: uri));
} }