-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug: Unauthorized access when using API token in n8n node #7084
Comments
Hey @samjaninf, thank you for reporting, this should be fixed by #7083 |
@mertmit
We tested the access with a JWT token and it work.s Even created a new API token but same 403 result. Is this issue really solved? |
Hi @VictorDelCampo, |
We are trying to access the API of our internal nocodb instance. Both v1 and v2 do not accept the API token |
I mean is it for all endpoints, because right now I am confirming with data endpoints and it is working. |
Oh sorry!
|
For example:
this example request works on my local tests for v0.202.9 |
I created a new API token and tried our any other table and same problem. This is our project info: |
I would like to confirm you are providing header as |
Yes we are using |
Can you confirm what is the role of the user that token belongs to? (Org Role and Base Role) |
@VictorDelCampo thank you for reporting this, I've find a typo which leads to this, created a fix PR. |
Awesome finding. Thanks for the quick support. I will confirm on my side once the bug fix is done and you ping here |
Here is the PR build: |
Are you planning on creating a new release with the bug fix? I guess other users are also affected and would need the bug fix |
You guess right. I'm also affected and blocked. Please, guys, bug this fix. Thanks in advance |
@Petrogrado1917 our latest bugfix release should work for you, are you still having problem https://github.com/nocodb/nocodb/releases/tag/0.202.10 |
I didn't test it yet. I Will do it as soon as possible. Thanks a lot.
Enviado desde Yahoo Mail con Android
El jue, dic 14, 2023 a 14:17, ***@***.***> escribió:
@Petrogrado1917 our latest bugfix release should work for you, are you still having problem https://github.com/nocodb/nocodb/releases/tag/0.202.10
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
It works ¡¡¡
El jue, 14 dic 2023 a las 17:34, ***@***.*** (<
***@***.***>) escribió:
… I didn't test it yet. I Will do it as soon as possible. Thanks a lot.
Enviado desde Yahoo Mail con Android
<https://mail.onelink.me/107872968?pid=nativeplacement&c=Global_Acquisition_YMktg_315_Internal_EmailSignature&af_sub1=Acquisition&af_sub2=Global_YMktg&af_sub3=&af_sub4=100000604&af_sub5=EmailSignature__Static_>
El jue, dic 14, 2023 a 14:17, mertmit
***@***.***> escribió:
@Petrogrado1917 <https://github.com/Petrogrado1917> our latest bugfix
release should work for you, are you still having problem
https://github.com/nocodb/nocodb/releases/tag/0.202.10
—
Reply to this email directly, view it on GitHub
<#7084 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3W7PLBHBAHFJSYWMSV6AW3YJL353AVCNFSM6AAAAAA7Y5RONOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVHAZTKNJSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Please confirm if bug report does NOT exists already ?
Steps to reproduce ?
Using n8n, set the NocoDB node to the v0.200.0 Onwards and set up a NocoDB API Token credential.
Then try to connect to an updated nocodb instance.
Desired Behavior
I should be able to list Tables and CRUD on any Bases/Projects in the NocoDB instance.
I am aware a few other bugs existed with similar issues but this problem still exists for me.
#5713
#6328
When I use the API Token credential it allows me to read the Base/Projects, but not the Tables, and I get Unauthorized Access when I try to run the node. Same exact issue as with #6328 .
It works with the User Auth Token but I can't get the
NC_JWT_EXPIRES_IN
environment variable to work properly either, It seems to still expire in 10 hours but doesn't create a new one if this envar is set. So it just gets stuck in limbo.Project Details
Attachments
No response
The text was updated successfully, but these errors were encountered: