Comments (1)
I was getting the same error with my Zapier oauth integration.
I'd click Deny, then retry, then Deny or Accept, then it would fail and I'd see this in my server log:
{ ForbiddenError: Unable to load OAuth 2.0 transaction: lnfyhWk3
I found that it didn't fail if my browser cache was disabled, so I fixed it by turning off caching for my /oauth route in my Nginx configuration:
location /oauth/ {
proxy_pass http://blahblah;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# kill cache: Fixed Zapier Oauth Deny, try again flow
sendfile off;
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
if_modified_since off;
expires off;
etag off;
proxy_no_cache 1;
proxy_cache_bypass 1;
from oauth2orize.
Related Issues (20)
- When access token will be expired, and does it auto refresh token? HOT 1
- complete callback is never called on decision middleware HOT 1
- Is this still maintained ? HOT 2
- Token middleware does not call application server's "next" HOT 1
- request.oauth2.transactionId is undefined HOT 1
- How to send refresh token next to access token after authorization? HOT 1
- How to determine if user is logged in at the client-side? HOT 1
- TokenError defaults don't follow the RFC 6749
- Refresh Token missing HOT 8
- Deny Oauth HOT 2
- Including the RFC-7662 (token introspection) HOT 1
- Porting to Koa2
- "client is not defined" on code -> token exchange. HOT 3
- Get token when parse client-id and client-secret without basic authentication
- Authorization Code redirect call in case of error HOT 2
- Unable to get the exchange token HOT 1
- Out of date Dependencies!
- Authorization code is not revoked after exchanging it for token HOT 1
- Support async function to replace `done()`
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 oauth2orize.