]> granicus.if.org Git - curl/commit
vauth/oauth2: Fix OAUTHBEARER token generation
authorMert Yazıcıoğlu <mert@mertyazicioglu.com>
Sun, 16 Dec 2018 12:45:40 +0000 (15:45 +0300)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 2 Apr 2019 19:52:12 +0000 (15:52 -0400)
commit6227e2bd07246de7a751b8de8cece6020802c264
tree88884a9f188bcdb816ae5e7e31182999c4be3530
parentd110d96b981fb0d0df54ded3f7fc876be891e2e3
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
15 files changed:
lib/curl_sasl.c
lib/vauth/oauth2.c
lib/vauth/vauth.h
tests/data/test842
tests/data/test843
tests/data/test844
tests/data/test845
tests/data/test887
tests/data/test888
tests/data/test889
tests/data/test890
tests/data/test946
tests/data/test947
tests/data/test948
tests/data/test949