From 6227e2bd07246de7a751b8de8cece6020802c264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20Yaz=C4=B1c=C4=B1o=C4=9Flu?= Date: Sun, 16 Dec 2018 15:45:40 +0300 Subject: vauth/oauth2: Fix OAUTHBEARER token generation OAUTHBEARER tokens were incorrectly generated in a format similar to XOAUTH2 tokens. These changes make OAUTHBEARER tokens conform to the RFC7628. Fixes: #2487 Reported-by: Paolo Mossino Closes https://github.com/curl/curl/pull/3377 --- tests/data/test843 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test843') diff --git a/tests/data/test843 b/tests/data/test843 index e286fd93f..bd39dd907 100644 --- a/tests/data/test843 +++ b/tests/data/test843 @@ -53,7 +53,7 @@ perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' A001 CAPABILITY -A002 AUTHENTICATE OAUTHBEARER dXNlcj11c2VyAWhvc3Q9MTI3LjAuMC4xAXBvcnQ9OTAwMwFhdXRoPUJlYXJlciBtRl85LkI1Zi00LjFKcU0BAQ== +A002 AUTHENTICATE OAUTHBEARER bixhPXVzZXIsAWhvc3Q9MTI3LjAuMC4xAXBvcnQ9OTAwMwFhdXRoPUJlYXJlciBtRl85LkI1Zi00LjFKcU0BAQ== A003 SELECT 843 A004 FETCH 1 BODY[] A005 LOGOUT -- cgit v1.2.3