Hi, I've been having problems with a 3rd party trying connect to Magento 2.3.5 so I tried 'OAuth token exchange example' from this page in Magento documentation: https://devdocs.magento.com/guides/v2.4/get-started/authentication/gs-authentication-oauth.html
But I get:
PHP Fatal error: Uncaught Exception: Consumer keys received on different requests do not match. in /home/subb2604/public_html/checklogin.php:14
Does anyone know what the problem is and does anyone know if these example scripts work? They are in the official documentation!
Thanks, any advice appreciated.
Hi @traknet
Kindly refer below link for your issue:
https://gist.github.com/paliarush/4c2bfa81ebef57305ba4
If issue resolve, please click on 'Kudos' & Accept as Solution!
Try to configure with this documentation help :
https://www.mageplaza.com/devdocs/token-oauth-session-authentication-magento-2.html
Hi, thanks for the replies but unfortunately they did not help:
@Bhanu Periwal- The link you provide show someone else report the same error as me but there is no solution there.
@gaurav_harsh1- The code and instructions on your link are exactly the same as in my link above so this doesn't help me.