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

feat(core): Make OAuth2 error handling consistent with success handling #5555

Merged
merged 8 commits into from
Mar 22, 2023

Conversation

ManishDhanwal07
Copy link
Contributor

Github issue / Community forum post (link here to close automatically):

@CLAassistant
Copy link

CLAassistant commented Feb 23, 2023

CLA assistant check
All committers have signed the CLA.

@n8n-assistant n8n-assistant bot added community Authored by a community member core Enhancement outside /nodes-base and /editor-ui labels Feb 23, 2023
@netroy netroy force-pushed the oAuth_event_improvement_update branch from 12495e6 to b21f9c4 Compare March 3, 2023 13:51
@netroy netroy changed the title improvement in the oauth event error handling feat(core): improvement in the oauth event error handling Mar 3, 2023
@netroy netroy changed the title feat(core): improvement in the oauth event error handling feat(core): Improvement in the oauth event error handling Mar 3, 2023
@netroy netroy requested a review from krynble March 6, 2023 12:47
@netroy netroy force-pushed the oAuth_event_improvement_update branch 2 times, most recently from c17f1a3 to 9369517 Compare March 9, 2023 10:27
@netroy netroy changed the title feat(core): Improvement in the oauth event error handling feat(core): Make OAuth2 error handling consistent with success handling Mar 9, 2023
@netroy netroy force-pushed the oAuth_event_improvement_update branch from 9369517 to 89cbc6d Compare March 9, 2023 11:16
@netroy netroy force-pushed the oAuth_event_improvement_update branch from 89cbc6d to f40629d Compare March 9, 2023 11:20
krynble
krynble previously requested changes Mar 9, 2023
Copy link
Contributor

@krynble krynble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feature-wise, it seems all right, I just left a small suggestion about wording to clarify what the user can do once facing this issue.

packages/cli/templates/oauth-error-callback.handlebars Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.02 🎉

Comparison is base (135b0d3) 14.35% compared to head (a490c88) 14.37%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5555      +/-   ##
==========================================
+ Coverage   14.35%   14.37%   +0.02%     
==========================================
  Files        2467     2467              
  Lines      112958   112960       +2     
  Branches    17567    17566       -1     
==========================================
+ Hits        16211    16238      +27     
+ Misses      96244    96220      -24     
+ Partials      503      502       -1     
Impacted Files Coverage Δ
packages/cli/src/Server.ts 0.00% <0.00%> (ø)
...ckages/cli/src/credentials/oauth2Credential.api.ts 0.00% <0.00%> (ø)

... and 5 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@netroy netroy merged commit 40aacf9 into n8n-io:master Mar 22, 2023
@n8n-assistant n8n-assistant bot added the Upcoming Release Will be part of the upcoming release label Mar 22, 2023
MiloradFilipovic added a commit that referenced this pull request Mar 23, 2023
…nd-foundations-sheets-node-api-endpoint

* feature/resource-mapping-component:
  fix(editor): Use credentials when fetching node and credential types (#5760)
  fix: Update Posthog no-capture (#5693)
  fix(core): Return SAML service provider urls with config (#5759)
  fix(HTTP Request Node): Fix AWS credentials to automatically deconstruct the url (#5751)
  feat(editor): Fix ResourceLocator dropdown style (#5714)
  feat(Filter Node): New node
  fix(core): Require Auth on icons and nodes/credentials types static files (no-changelog) (#5745)
  refactor(core): Stop importing LoggerProxy and createDeferredPromise in nodes-base (no-changelog) (#5742)
  feat(core): Make OAuth2 error handling consistent with success handling (#5555)
  fix(Split In Batches Node): Roll back changes in v1 and create v2 (#5747)
  ci: Upgrade sanitize-html from 2.9.0 to 2.10.0 (#5744)
  fix(core): Remove circular refs from Code and push msg (#5741)
  fix(HTTP Request Node): Add streaming to binary response  (#5701)
  fix(core): Force-upgrade `http-cache-semantics` to address CVE-2022-25881 (#5733)
  fix(core): Force-upgrade `decode-uri-component` to address CVE-2022-38900 (#5734)
MiloradFilipovic added a commit that referenced this pull request Mar 24, 2023
* master: (80 commits)
  feat: Execution custom data saving and filtering (#5496)
  ci: Fix saml.api.test.ts (no-changelog) (#5764)
  docs: Refer to docker.n8n.io/n8nio/n8n for pulling n8n docker images (no-changelog) (#5763)
  🚀 Release 0.221.0 (#5726)
  fix(core): Persist CurrentAuthenticationMethod setting change (#5762)
  feat(core): Limit user invites when SAML is enabled (#5761)
  fix(core): Setup nodeHelpers that aren't exposed in the code sandbox (no-changelog) (#5753)
  fix(HTTP Request Node): Fix AWS credentials to automatically deconstruct the url (#5751)
  fix(core): Require Auth on icons and nodes/credentials types static files (no-changelog) (#5745)
  fix(Split In Batches Node): Roll back changes in v1 and create v2 (#5747)
  fix(editor): Use credentials when fetching node and credential types (#5760)
  fix: Update Posthog no-capture (#5693)
  fix(core): Return SAML service provider urls with config (#5759)
  fix(HTTP Request Node): Fix AWS credentials to automatically deconstruct the url (#5751)
  feat(editor): Fix ResourceLocator dropdown style (#5714)
  feat(Filter Node): New node
  fix(core): Require Auth on icons and nodes/credentials types static files (no-changelog) (#5745)
  refactor(core): Stop importing LoggerProxy and createDeferredPromise in nodes-base (no-changelog) (#5742)
  feat(core): Make OAuth2 error handling consistent with success handling (#5555)
  fix(Split In Batches Node): Roll back changes in v1 and create v2 (#5747)
  ...
@janober
Copy link
Member

janober commented Mar 30, 2023

Got released with n8n@0.222.0

sunilrr pushed a commit to fl-g6/qp-n8n that referenced this pull request Apr 24, 2023
…ng (n8n-io#5555)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member core Enhancement outside /nodes-base and /editor-ui Released skip-e2e Upcoming Release Will be part of the upcoming release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants