Comments (17)
I think I know what the issue might be.
The callback urls need to be excluded from the new session-hijacking check (until we have a better way to check for urls like these). Still not sure why this isn't failing locally or on cloud instances.
Will send a PR soon after a bit of testing.
from n8n.
We'll release patch release for 1.37 and 1.38 tomorrow morning (CET).
from n8n.
fixed with this @netroy @Joffcom :
const skipBrowserIdCheckEndpoints = [
`/${restEndpoint}/push`,
`/${restEndpoint}/binary-data`,
`/${restEndpoint}/oauth2-credential`,
`/${restEndpoint}/oauth1-credential`,
];
from n8n.
Hey @enoksaju,
Do you have the correct url set in the Google application?
Can you also confirm the exact version of n8n you are using as next is a tag and changes.
from n8n.
Do you have the correct url set in the Google application?
yes, this worked before latest update
the version is 1.37.1
from n8n.
@enoksaju can you also please share the version this was earlier working on? That might help narrow down the change that might be causing this issue.
from n8n.
@enoksaju can you also please share the version this was earlier working on? That might help narrow down the change that might be causing this issue.
working version 1.34.2
i try to pull docker compose to that version, but when access to credentials endpoint this not load nothing and on console show a errors
from n8n.
also, important thing, after json error is showed, all page not workign and when i reload page this show login page and i need to login again
from n8n.
i read about this: #9031 (comment), maybe this cause the issue
from n8n.
when i reload page this show login page and i need to login again
This is likely being caused by #9057
Are you by any chance using Firefox with the multi-account containers extension?
The login screen is showing because somewhere in the auth flow a rest-api call is being made from a context that does not have the correct permission to make this api call, so the cookie is getting invalidated.
Unfortunately I'm unable to reproduce this locally, or on n8n cloud, with Firefox or Chrome.
from n8n.
when i reload page this show login page and i need to login again
This is likely being caused by #9057 Are you by any chance using Firefox with the multi-account containers extension?
The login screen is showing because somewhere in the auth flow a rest-api call is being made from a context that does not have the correct permission to make this api call, so the cookie is getting invalidated.
Unfortunately I'm unable to reproduce this locally, or on n8n cloud, with Firefox or Chrome.
Maybe, i think issue is with browserid and nodesAccess property, was removed on new versions
from n8n.
Same problem on version 1.37.1 with Linkedin and Microsoft Outlook OAuth2 API. After hiting "Connect my account" , my session is disconnected. Same acting is for direct visiting /rest/oauth2-credential/callback.
from n8n.
Thanks @netroy for quick response and quick workaround.
This also maybe can help: (Our proxy settings with apache we are adding IP Header)
RemoteIPHeader CF-Connecting-IP
ProxyPass / http://192.168.XX.XX:5678/
ProxyPassReverse / http://192.168.XX.XX:5678/
#Websocket HTTP Upgrade
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.*) ws://192.168.XX.XX:5678/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.*) http://192.168.XX.XX:5678/$1 [P,L]
from n8n.
We'll release patch release for 1.37 and 1.38 tomorrow morning (CET).
i add the change manually on the docker files at this path: /usr/local/lib/node_modules/n8n/dist/auth/auth.service.js
then i restart docker and still the issue
from n8n.
mybe issue is with browserid validation, i comment this lines to exclude browser id validation and now is working
from n8n.
i see, req.baseUrl return /rest/oauth2-credential instead of /rest/oauth2-credential/callback
from n8n.
Fix released in 1.37.3 and 1.38.1.
from n8n.
Related Issues (20)
- OpenAI Assistant & gpt4-o HOT 9
- OpenAI Assistant creating new thread everytime HOT 8
- Accessing Ticket Object ID in Hubspot Trigger Node HOT 3
- 1.41.0 - Bug: Number of Executions Shown in Side Panel is Limited to 10 at a Time HOT 7
- ERROR: The DNS server returned an error, perhaps the server is offline HOT 2
- OpenAI Assistant - The requested model ‘gpt-4o’ cannot be used with the Assistants API in v1 HOT 1
- HTTP Request / OpenSSL Error HOT 3
- "Convert to HTML Table" Does Not Add the "Row Attributes" Option HOT 2
- workflows.map is not a function HOT 2
- Renaming the node by leaving the name field empty causes unexpected behavior HOT 5
- Can you add options for multi-branch parallel execution and for nodes to continue the workflow execution even if an error occurs? HOT 1
- Error: HTTP status 403 HOT 7
- Node Max Tries / Wait Values Limits Too Low HOT 7
- Ask AI is not present in the Code node on self-hosted Docker ver 1.41.1 HOT 3
- Pagination Does Not Reset When Re-Testing Node HOT 3
- NPM - Esm modules are not supported, dynamic (async) import fails HOT 8
- http node executes "successfully" but error is returned HOT 3
- Webhook only work in test mode... HOT 3
- IF issue. Wrong type ' NNN' is a string but was expecting a number HOT 1
- RabbitMQ Workflow had to be deactivated HOT 10
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 n8n.