I am currently using Omnipay to interact with the PayPal API in Laravel. Paypal requires an application to use its client id and secret to retrieve an access token. I’ve stored the client id and secret in ENV variables. What I’m trying to figure is how to use curl to get the access token, and ..
Description: We use passport with OAuth2 to get the access token. We use Redis as our session driver. Only when I log out I cannot delete the session. Which keeps me logged in. Get the same result with session driver file. Only if I set session driver to database I can logout with: auth()->user()->sessions()->delete(); if ..
I try to build an application form, where you have to connect with the discord oauth2 after submitting the application. So I already got the whole oauth set up and I could make a button where you connect with discord and then fill out your form. But I’d like to have the form submit and ..
I want to call cloud messaging rest api from php. For that I should mention access token. Is there any rest end points where I can send client id, secret and get id token, and then using id token get access token and refresh token through google firebase rest end points? I can not use ..
I have a PHP "API" (Basically I allow other sites to share their articles on mine). But i need to add some kind of authorization method, such as API key and secret, or something of the sort. So far, i think what best suits my situation is the Client Credentials grant type flow. But i ..
I’d like fetch my Google Calendar events with a PHP script that is ran by Cron on every 15 minutes. I’ve seen that there are some questions like this already asked but they’re without answers and I do not prefer to create a service account. I’m currently using a script that I wrote by following ..
I’m having an issue while trying to get the access token from my Invision’s personal forum API with OAuth 2, via the auth code grant. When using Node.js’s passport module with the passport-oauth2 strategy, I don’t receive the access token. And I tried it without using passport. In this case, I correctly get the auth ..
I’m using both passport and socialite, I am looking for socialite to handle the access yet I thought I would receive an OAuth token for the authenticated user in the process from passport (which I do not receive), nothing in all passport tables. Using this implementation, how would you actually give user a token? Also, ..
I’m trying to build an app which is supposed to be able to create a calendar for some of my users, and add/delete events in it. I want to use Google Calendar for this, and I’m having issues with the authentication part. I installed the vendor and here is my code: I have this method ..
I am writing authorization using social networks (google). Spa app (front vue, backend symfony). On the backend there is a tricorder/oauth-bundle that writes out tokens, etc. didn’t find any examples of how to implement authorization for social network. Found only what you need to implement your grant type. https://github.com/trikoder/oauth2-bundle/blob/v3.x/docs/implementing-custom-grant-type.md Tell me, help, if anyone has ..