[Openid-specs-ab] Issue #83: OP-OAuth-2nd Test Failure despite error value return (openid/certification)
Roshni Chandrashekhar
issues-reply at bitbucket.org
Wed Mar 11 16:59:19 UTC 2015
New issue 83: OP-OAuth-2nd Test Failure despite error value return
https://bitbucket.org/openid/certification/issue/83/op-oauth-2nd-test-failure-despite-error
Roshni Chandrashekhar:
Here's the test trace snippet:
0.507890 ------------ AccessTokenRequest ------------
0.508249 --> URL: https://www.googleapis.com/oauth2/v3/token
0.508255 --> BODY: code=4%2FxfHHcY8cu74QIOk-4T8GEwNejmb28Dsfd0PBeMA8Vf4.Mk7siLQ7ttIaXmXvfARQvtiKQIITmAI&client_secret=REDACTED&grant_type=authorization_code&client_id=REDACTED&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60218%2Fauthz_cb
0.508264 --> HEADERS: {'Content-type': 'application/x-www-form-urlencoded'}
0.587195 <-- STATUS: 400
0.587329 ErrorResponse: {
"error": "invalid_grant",
"error_description": "Code was already redeemed."
}
Result
FAILED
It appears that we are returning an error, but the test still fails with this message:
[verify-error-response]
status: ERROR
description: Checks that the last response was a JSON encoded error message
info: Expected error message
Are we returning an incorrect error message? It's not clear from this test trace.
Responsible: Rohe
More information about the Openid-specs-ab
mailing list