php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #69879 Unable to specify "realm"
Submitted: 2015-06-18 21:46 UTC Modified: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: public at aapconsulting dot com Assigned:
Status: Open Package: oauth (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: public at aapconsulting dot com
New email:
PHP Version: OS:

 

 [2015-06-18 21:46 UTC] public at aapconsulting dot com
Description:
------------
I'm not sure if this is a bug report or a feature request.  According to what I've read in the OAuth 1.0 spec, the Authentication header "realm" is optional and therefore should be able to be included or not based on the specific case.  In my case, the provider is requiring this field and I have not been able to figure out how to include it.

Expected result:
----------------
My header should look something like this:

Authorization: OAuth realm="416100", 
oauth_consumer_key="XXXXXXXXXXXX",
oauth_signature_method="HMAC-SHA1",
oauth_nonce="XXXXXXXXXXXX",
oauth_timestamp="XXXXXXXXXXXX",
oauth_version="1.0",
oauth_token="XXXXXXXXXXXX",
oauth_signature="XXXXXXXXXXXX"


Actual result:
--------------
Authorization: OAuth oauth_consumer_key="XXXXXXXXXXXX",
oauth_signature_method="HMAC-SHA1",
oauth_nonce="XXXXXXXXXXXX",
oauth_timestamp="XXXXXXXXXXXX",
oauth_version="1.0",
oauth_token="XXXXXXXXXXXX",
oauth_signature="XXXXXXXXXXXX"


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jul 08 15:01:27 2020 UTC