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(mrf): handling for incorrect submission secret key in url query params #7219

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

justynoh
Copy link
Contributor

@justynoh justynoh commented Apr 1, 2024

Problem

We want to only allow keys to be passed via the key query param, and not via a secret key prompt.
Closes FRM-1672

Solution

Pull the decryption to the provider level to enable the screen to be swapped to the FormNotFound screen if the secret key is invalid.

Breaking Changes

  • No - this PR is backwards compatible

Before & After Screenshots

BEFORE:
image

AFTER:
image

@justynoh justynoh force-pushed the fix/incorrect-submission-secret-key-handling branch from 069de88 to 3c73803 Compare April 1, 2024 09:04
@justynoh justynoh force-pushed the fix/incorrect-submission-secret-key-handling branch from 3c73803 to 157d9a1 Compare April 1, 2024 09:09
Copy link

linear bot commented Apr 1, 2024

@justynoh justynoh requested a review from KenLSM April 1, 2024 09:10
@justynoh justynoh marked this pull request as ready for review April 1, 2024 09:10
Copy link
Contributor

@KenLSM KenLSM left a comment

Choose a reason for hiding this comment

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

LGTM

@justynoh justynoh merged commit 02f7429 into develop Apr 3, 2024
23 checks passed
@justynoh justynoh deleted the fix/incorrect-submission-secret-key-handling branch April 3, 2024 02:42
@KenLSM KenLSM mentioned this pull request Apr 3, 2024
26 tasks
KenLSM added a commit that referenced this pull request Apr 4, 2024
* chore(deps-dev): bump @types/express from 4.17.17 to 4.17.21 (#7233)

Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.17 to 4.17.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

---
updated-dependencies:
- dependency-name: "@types/express"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): bump nan from 2.17.0 to 2.19.0 (#7212)

Bumps [nan](https://github.com/nodejs/nan) from 2.17.0 to 2.19.0.
- [Changelog](https://github.com/nodejs/nan/blob/main/CHANGELOG.md)
- [Commits](nodejs/nan@v2.17.0...v2.19.0)

---
updated-dependencies:
- dependency-name: nan
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @types/json-stringify-safe from 5.0.0 to 5.0.3 (#7235)

Bumps [@types/json-stringify-safe](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/json-stringify-safe) from 5.0.0 to 5.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/json-stringify-safe)

---
updated-dependencies:
- dependency-name: "@types/json-stringify-safe"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(mrf): handling for incorrect submission secret key in url query params (#7219)

* fix: add secret key input mask (#7227)

* fix: add secret key input mask

* fix: add testid to allow storybook to capture inputfield with password type

* fix(mrf): workflow email UI cleanup (#7215)

* fix: mrf workflow email UI cleanup

* chore: update button formatting

* fix: more fixes

* chore: change port for react-email-preview to 4242

* chore: add comment on email defaults

* fix: potentially unsafe external url

* chore(mrf): remove flags (#7230)

chore: remove mrf flag checks

* chore(mrf): add announcement content (#7229)

* chore: add mrf announcement content

* chore: update mrf guide links

* chore: update date to 04-04

* chore: remove exclamation mark after url link

* fix: correct date validation for disabled fields (#7240)

* fix: correct date validation for disabled fields

* fix: removing console logs

* chore: bump version to v6.115.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justyn Oh <justynoh@gmail.com>
Co-authored-by: Kathleen Koh <89055608+kathleenkhy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants