Comments (3)
No. The Token/AccessToken object is not an access token. So to preserve the refreshToken returned at the same time and stored in the Token/AccessToken object in session as an object you would be correct but I do not promote storing objects in the session so I presume you have stored the refreshToken somewhere else hence my promotion and use of the singular variable instead of an object property.
from oauth2-client.
@TomHAnderson that answer unfortunately misunderstands what @chrispitt was asking. There was a random variable in the README that had not been instantiated and had no connection to anything. That is gone now in my reshuffle of the README and its sample code.
from oauth2-client.
Spot on, Mr Sturgeon.
from oauth2-client.
Related Issues (20)
- Deprecated function: Return type HOT 1
- Oauth2 refresh problems HOT 1
- AccessToken setTimeNow is useless function
- PHP Combability issue
- Security issue HOT 1
- Basic example improvements HOT 1
- Basic example improvements (2)
- Allow any psr-18 http client (instead of requiring guzzle) HOT 1
- Security vulnerabilities in specific guzzlehttp/guzzle versions
- Error fetching OAuth credentials: "Missing required parameter [code_verifier]."
- Logout HOT 1
- Suggestion - a very small code change would implement rate limiting
- Add original oauth error to IdentityProviderException
- Issue with generating and validating the same token.
- ID Token for access token possible? HOT 1
- New stable release? HOT 6
- pkce no longer appears in src/Provider/AbstractProvider.php HOT 4
- Create multipart/form-data requests? HOT 1
- Support for PHP 8.2? HOT 1
- PKCE: Unset oauth2pkceCode from session after login?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oauth2-client.