Bitcoin Forum
June 30, 2024, 01:24:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Exchanges / Re: Official Quoine Exchange Thread on: February 01, 2018, 01:31:45 PM
Greetings!

I’m working on integrating Quoine in my bot written in PHP. Unfortunately I’m having a hard time with the JWT authentication token and I hope it will be possible to get some support here?

The error I get trying to authenticate is: "Signature does not match"

I have debugged the JWT token over at: https://jwt.io/ with positive results but when trying to send it with postman to Quoine I get an error.

Screenshots: https://postimg.org/gallery/2ecv2hk6s/

Debugging so far:

I have imported my API token and secret in the TabTrader app to make sure it should be working and it is working fine.

I have tried several different PHP libraries for generating the JWT token:

https://github.com/firebase/php-jwt
https://github.com/namshi/jose
https://github.com/rmcdaniel/angular-codeigniter-seed/blob/master/api/application/helpers/jwt_helper.php

But to no avail…

The PHP code I’m working on can be viewed here:

http://pastebin.com/zWAHuU0p

If anyone smarter then me can help I would be most grateful. Or if someone has an example of the JWT authentication function in PHP, that would probably do it as well.

Looking forward to your reply.



Hi Hauruck,

I've forwarded your message to the developer team and will send you an example via PM.

Hi, Quoine Exchange,
I am getting exactly the same error in similar conditions and tools: "Signature does not match". But Java instead of PHP. Could you help me, too, please?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!