-
Notifications
You must be signed in to change notification settings - Fork 659
[release-4.19] OCPBUGS-62083: /auth/error?error=missing_state&error_type=auth
is showing blank page
#15523
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
[release-4.19] OCPBUGS-62083: /auth/error?error=missing_state&error_type=auth
is showing blank page
#15523
Conversation
…howing empty content (openshift#15434) * fix: add the new auth type under the case that will resolve the issue that the case cannot be found. * fix: retore to the original version * fix: wrap AuthenticationErrorPage with HelmetProvider for proper context * fix: move HelmetProvider to higher up in the tree * refactor: streamline Helmet usage and remove redundant branding details * Update frontend/public/components/app.tsx Co-authored-by: logonoff <[email protected]> * refactor: use the variable name productName --------- Co-authored-by: logonoff <[email protected]>
@Leo6Leo: This pull request references Jira Issue OCPBUGS-62083, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@Leo6Leo: This pull request references Jira Issue OCPBUGS-62083, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/label backport-risk-assessed
/retitle [release-4.19] OCPBUGS-62083: |
/auth/error?error=missing_state&error_type=auth
is showing blank page/auth/error?error=missing_state&error_type=auth
is showing blank page
Or I can only fix the button link, since it is redirecting to /logout, which doesn't exist. For that link, currently I'm directing it to /, which is the home page of the dashboard, do you think it is reasonable? Or calling logout function would make more sense? @logonoff @TheRealJon |
I think fixing the button link is reasonable here |
Can I re-get the tags plz? @logonoff @krishagarwal278 |
/lgtm |
frontend/public/components/error.tsx
Outdated
// When the error type is set as auth | ||
switch (error) { | ||
case 'missing_state': | ||
return t('public~There was an error parsing your state cookie'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
period is missing here
frontend/public/components/error.tsx
Outdated
case 'login_state_error': | ||
return t('public~There was an error generating login state.'); | ||
case 'cookie_error': | ||
return t('public~There was an error setting login state cookie'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we update message to include period?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like this one also needs to be updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opps I missed it, thanks for catching that @yapei , updated.
@Leo6Leo It looks like we already have partial change(Try again button redirect link changes) of https://github.com/openshift/console/pull/15511/files here, how about bringing all changes together? |
For getting lgtm tags: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Leo6Leo, logonoff The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
For verification: |
/verified by @yapei |
@yapei: This PR has been marked as verified by In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@Leo6Leo: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
c200672
into
openshift:release-4.19
@Leo6Leo: Jira Issue Verification Checks: Jira Issue OCPBUGS-62083 Jira Issue OCPBUGS-62083 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/cherry-pick release-4.18 |
@Leo6Leo: #15523 failed to apply on top of branch "release-4.18":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…9/auth-error-page [release-4.19] OCPBUGS-62083: `/auth/error?error=missing_state&error_type=auth` is showing blank page
…9/auth-error-page [release-4.19] OCPBUGS-62083: `/auth/error?error=missing_state&error_type=auth` is showing blank page
Description
This is a manual backport for the #15434