From 3e1f1abcd2184eab88a9a3a524134603cfdb2f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9sz=C3=A1ros=20Mih=C3=A1ly?= Date: Tue, 2 Aug 2016 12:28:43 +0200 Subject: [PATCH] ouput correction according to rfc7635 Appendix B --- src/apps/oauth/oauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/oauth/oauth.c b/src/apps/oauth/oauth.c index 4a76351..34e6044 100644 --- a/src/apps/oauth/oauth.c +++ b/src/apps/oauth/oauth.c @@ -436,7 +436,7 @@ int main(int argc, char **argv) printf("{\n"); printf(" \"access_token\":\"%s\",\n",base64encoded_etoken); printf(" \"token_type\":\"pop\",\n"); - printf(" \"expires\":%d,\n",token_lifetime); + printf(" \"expires_in\":%d,\n",token_lifetime); printf(" \"kid\":\"%s\",\n",kid); printf(" \"key\":\"%s\",\n",mac_key); printf(" \"alg\":\%s\n",hmac_alg);