hope you can help. I’m trying to implement Instagram’s Basic Display API but unfortunately I’m running into problems generating a long-lived access token or refreshing an existing long-lived token using PHP/cURL. It seems I’m far from the only one having this or similar issues. I followed Facebooks getting-started guide (located here) and was able to generate a short-lived access token,
Tag: oauth-2.0
User not loged in after redirect from login with laravel socialite
Hello I am using Laravel Socialite for Oauth authentication with my remote Laravel Paspport app. After getting successfully the user autheticated with passport when I want to get the user to the …
Zoom Api – I can’t update a meeting
I am trying to update a meeting using Zoom API but I can’t get it to work. I’m trying to do a PATCH request using eleague oauth2 client like this: I’m getting an empty response, and I’m not sure what is missing. Can anyone help me? Answer basically the response given by the api is blank or just meeting updated
Zoom API – Request to check email does not work
I am trying to consume Zoom’s API using PHP and Oauth2. I was able to connect to the aplication and get the token using the generic lib oauth2-client. But, when I try to make a simple request, I get an error, saying that the email is missing. This is my code: As you can see, I am passing the email
What’s the problem of using Password Grant Tokens for Nuxt SPA
I want to develop a Nuxt SPA with Laravel as backend. Read the Passport document and now confused about the following paragraph because I don’t want to redirect the user to backend login page: …
How to handle “unsupported_grant_type” from laravel passport
I’m playing around with laravel and try to enable client credentials grant to secure some api endpoints. To provide some context: I want to create an api that stands between a database and several websites (and SPAs). So I’ll be able to do some monitoring (what website/SPA calls which ressources) and in general add some security. So in this case
creating an invoice using OAuth2 in xero
I am following along with the code samples provided here – https://github.com/XeroAPI/xero-php-oauth2/blob/master/docs/Api/AccountingApi.md#createInvoice However, i am always receiving the following error message: “ErrorNumber”: 17, “Type”: “NoDataProcessedException”, “Message”: “No data has been processed for this endpoint. This endpoint is expecting Invoice data to be specifed in the request body.” Any ideas why this is the case. I have added quotes around the
Single Sign On from WordPress to media wiki
I am trying to create Single sign-on from Wordpress to MediaWiki. I have WPOauthServer running on my WordPress (Wordpress plugin). And on my wiki I have Extension:OAuth2 Client installed. I want that my users only log in to WordPress and from there they can go to the wiki without logging to wiki again. The WPOauthServer is working fine, I am
How to get an OAuth 2.0 token in PHP?
I need to connect to a REST API of a customer. The first step is to get an OAuth 2.0 access token. I got the following information from the customer: Login (I assume it’s the client_id) Password (I assume it’s the client_secret) The flow is password The regular API URL The Token API URL I found code at http://tutorialspage.com/simple-oauth2-example-using-php-curl/ and
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 …