③ Échange code → access token (Étape 3)
Ce test nécessite un vrai
code reçu après redirection PennyLane. Utilisez d'abord
la page de connexion pour obtenir un code réel.
Résultat (code fictif) :
{
"status": "error",
"http_code": 400,
"message": "The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.",
"body": {
"error": "invalid_grant",
"error_description": "The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."
}
}