OpenBankProject / OpenBankProject/OBP-API
OAuth 1.0 -
@constantine2nd is already working on this.
Since Sep 6, 2018.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
Trying to send
curl --request POST --verbose
"https://abc.openbankproject.com/oauth/initiate"
-d "oauth_callback=https://yolion.com"
-d "oauth_version=1.0"
-d "oauth_signature_method=HMAC-SHA256"
-d "oauth_consumer_key=au0rkyvoimds03j3f3tivLLwytzsgobcavddj15m"
-d "oauth_signature=misqvavm1zy5udgtdfe2xrfgic2p2jeslxixw4ed%26"
getting response
the following parameters are missing : oauth_signature_method, oauth_signature, oauth_consumer_key, oauth_callback, oauth_timestamp, oauth_nonce
The full response
- Trying 52.59.75.91...
- TCP_NODELAY set
- Connected to abc.openbankproject.com (52.59.75.91) port 443 (#0)
- ALPN, offering http/1.1
- Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
- successfully set certificate verify locations:
- CAfile: /usr/local/php5/ssl/cert.pem
CApath: none - TLSv1.2 (OUT), TLS header, Certificate Status (22):
- TLSv1.2 (OUT), TLS handshake, Client hello (1):
- TLSv1.2 (IN), TLS handshake, Server hello (2):
- TLSv1.2 (IN), TLS handshake, Certificate (11):
- TLSv1.2 (IN), TLS handshake, Server key exchange (12):
- TLSv1.2 (IN), TLS handshake, Server finished (14):
- TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
- TLSv1.2 (OUT), TLS change cipher, Client hello (1):
- TLSv1.2 (OUT), TLS handshake, Finished (20):
- TLSv1.2 (IN), TLS change cipher, Client hello (1):
- TLSv1.2 (IN), TLS handshake, Finished (20):
- SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
- ALPN, server accepted to use http/1.1
- Server certificate:
- subject: CN=*.openbankproject.com
- start date: Jul 25 00:00:00 2016 GMT
- expire date: Aug 15 23:59:59 2018 GMT
- subjectAltName: host "abc.openbankproject.com" matched cert's "*.openbankproject.com"
- issuer: C=US; O=GeoTrust Inc.; CN=RapidSSL SHA256 CA
- SSL certificate verify ok.
POST /oauth/initiate HTTP/1.1
Host: abc.openbankproject.com
User-Agent: curl/7.54.0
Accept: /
Content-Length: 206
Content-Type: application/x-www-form-urlencoded
- upload completely sent off: 206 out of 206 bytes
< HTTP/1.1 400 Bad Request
< Server: nginx/1.10.3
< Date: Thu, 10 May 2018 11:19:31 GMT
< Content-Type: application/x-www-form-urlencoded
< Content-Length: 144
< Connection: keep-alive
< Expires: Thu, 10 May 2018 11:19:31 GMT
< Cache-Control: no-cache, private, no-store
< Pragma: no-cache
< X-Frame-Options: DENY
< - Connection #0 to host abc.openbankproject.com left intact
the following parameters are missing : oauth_signature_method, oauth_signature, oauth_consumer_key, oauth_callback, oauth_timestamp, oauth_nonce
what do I do wrong?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.