I am working on project which has separate model for users — AppModelsCustomer. And also it has own authorisation fields — Email and cust_password. And also password is hashed by password_hash function. In my config/auth.php in providers section I set up my custom model: So I am trying to implement Laravel Grand Tokens. I need to make request to /oauth/token/
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,
Why Google Drive API constantly requests login?
I’m working with google drive ap using Oauth. This works, however every day it ask my user for consent again and waits for me to login to my google account. Why do I need do this every day? Is this working as intended, i just want to be sure i’m not doing anything wrong. Answer This is because your code
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” :
OAuth: Proper way to generate/reuse token
This is how I manage the OAuth authentication when a user gives correct credentials: protected function authenticated(Request $request, User $user) { return response()->json([ …
Automating Zoom API authentication with PHP not working
I am trying to automate the sign in process with the Zoom API to allow me to use my website to create meetings but I cannot seem to get the sign in to work in order to allow me to get an authentication code to call the API methods. I am doing this in PHP and I am fairly novice
How can I re-acquire a Shopify OAuth access token for a store that has previously installed my application?
I requested authorization for a public application to be able to access store data via the Shopify API. The store successfully authorized my application via an authorization request URL such as …
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