Mastercard / oauth1-signer-ruby

Zero dependency library for generating a Mastercard API compliant OAuth signature.
https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/
MIT License
5 stars 0 forks source link

Authorization header created with spaces #4

Closed ech0s7r closed 5 years ago

ech0s7r commented 5 years ago

Each parameter in the Authorization header is created with spaces between the paramenter name and its value, i.e.:

Authorization: OAuth oauth_body_hash = '+eoHI/e/(...)S0seIE=',oauth_consumer_key = 'q_zC8ga1(...)00000',oauth_nonce = 'sFJII80N',oauth_signature_method = 'RSA-SHA256',oauth_timestamp = '1556822180',oauth_version = '1.0',oauth_signature = 'PPn(...)Uo3D'

Spaces should be removed.

ech0s7r commented 5 years ago

Closed with PR #5.