Comments (7)
Yeah, I remember I noticed this too but then forgot 😭 Basically we could put your code after a successful flow, we don't need the others afterwards.
from oauth2-client-js.
Released under 0.0.16
. The provider will now empty its part of the storage after a successful request.
from oauth2-client-js.
Cool, thanks 😃
But isn't this a too radical solution, you clean the whole local storage now (also other values set by the application). I would recommend to only delete items beginning with the provider id (as in my snippet), so (hopefully) only state object are deleted.
from oauth2-client-js.
Yes, was a bit careless late in the evening. Fix is on the way.
from oauth2-client-js.
See #6
from oauth2-client-js.
Cool, thanks for the quick fix
from oauth2-client-js.
I better fix deleting all your data quickly 😱
from oauth2-client-js.
Related Issues (20)
- Cannot set response_type HOT 3
- Accept optional values through constructor config
- Looking for new maintainer
- Cleaning up localStorage HOT 2
- Update the dependencies to use the uuid module instead of node-uuid HOT 4
- Create TypeScript declaration files HOT 5
- Request: Update the NPM package to include new types and removed dependency of node-uuid HOT 6
- Typings file not in NPM HOT 1
- README.md is wrong HOT 4
- Publish new version to npm HOT 1
- LinkedIn require's response_type to be "code" HOT 1
- ReferenceError: window is not defined HOT 1
- Remove devtool: eval from distribution HOT 1
- Need help with response_type
- need to get the response as json.
- Need some help HOT 2
- Current behavior deletes expected responses from all providers after successful flow HOT 2
- Failing responses lead to orphaned remembered requests HOT 3
- do you want to promote this project more?
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-js.