Skip to content
Advertisement

Tag: oauth

Using OAuth 1.0 with PHP cUrl

I am working on a small PHP script which calls an API. This API uses OAuth 1.0 authorization. Hence I need to create the signature and request-header. I am pretty sure my signature-generation method and the generation of the request-header work well as I have done the same in C# (where the everything works) and the signature as well as

Laravel Http request to route sends forever

I want to have a link in an email that send to the user, the link is the url of the site and has an api token for the user to authenticate with. however I am trying to send an api request to get the user details so I can authenticate the user and redirect them to the relavent page,

How to pass storeUrl to default Magento oauth script?

I’m trying to create my first Magento 2 extension and integration and I’ve been following the guide in their docs here. All good so far, I’ve completed the auth handshake, stored all the required keys for api requests and can make requests back to my extension fine. Looking at the OauthClient.php script provided at the foot of the tutorial, the

NetSuite connect using PHP oAuth 1.0 getting error

Hi I want to connect netsuite using PHP . I tried in Postman and it is working properly . Request is sending and i am getting result . So i want to execue the same thing using PHP . So i wirte the following code . But I’m getting the following error : {“error” : {“code” : “INVALID_LOGIN_ATTEMPT”, “message” :

LinkedIn API OAuth refresh token

I am using LinkedIn API to pull updates from there and display on the website. While using OAuth, I am storing the token in a file and then pull it from there again to prevent the login popup. However, I am not clear once my token expires how will it get refreshed. Following is how I am reading the token

Advertisement