Skip to content
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

fix(cli): include "auth-excluded" endpoints on the history middleware as well #4028

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

netroy
Copy link
Member

@netroy netroy commented Sep 5, 2022

right now endpoints defined in N8N_AUTH_EXCLUDE_ENDPOINTS are skipping the JWT auth, and the history middleware is returning 404 on these urls. This change ensures that these endpoints skip all auth-related middlewares.

This is needed for N8N-4495

… as well

right now endpoints defined in `N8N_AUTH_EXCLUDE_ENDPOINTS` are skipping the JWT auth, and the history middleware is returning 404 on these urls. This change ensures that these endpoints skip all auth-related middlewares.
@netroy netroy requested a review from janober September 5, 2022 16:40
@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Sep 5, 2022
@netroy netroy merged commit d554128 into master Sep 5, 2022
@netroy netroy deleted the fix-excludeEndpoints branch September 5, 2022 18:39
@n8n-assistant n8n-assistant bot added the Upcoming Release Will be part of the upcoming release label Sep 5, 2022
@janober
Copy link
Member

janober commented Sep 6, 2022

Got released with n8n@0.193.4

@janober janober removed the Upcoming Release Will be part of the upcoming release label Sep 6, 2022
ivov pushed a commit that referenced this pull request Sep 6, 2022
… as well (#4028)

right now endpoints defined in `N8N_AUTH_EXCLUDE_ENDPOINTS` are skipping the JWT auth, and the history middleware is returning 404 on these urls. This change ensures that these endpoints skip all auth-related middlewares.
valya pushed a commit to valya/n8n that referenced this pull request Nov 8, 2022
… as well (n8n-io#4028)

right now endpoints defined in `N8N_AUTH_EXCLUDE_ENDPOINTS` are skipping the JWT auth, and the history middleware is returning 404 on these urls. This change ensures that these endpoints skip all auth-related middlewares.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants