From 524536a6bc225c4dc63a954ddbe719ee442520f8 Mon Sep 17 00:00:00 2001 From: aphorise Date: Tue, 24 Jan 2023 14:15:17 +0100 Subject: [PATCH] UI: JWT Auth Browser Popup warning. Resolves: #10753. (#18787) --- changelog/18787.txt | 3 +++ ui/app/components/auth-jwt.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelog/18787.txt diff --git a/changelog/18787.txt b/changelog/18787.txt new file mode 100644 index 000000000..e865125de --- /dev/null +++ b/changelog/18787.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: Added JWT authentication warning message about blocked pop-up windows and web browser settings. +``` diff --git a/ui/app/components/auth-jwt.js b/ui/app/components/auth-jwt.js index bc09dbc6b..0e5b53a1d 100644 --- a/ui/app/components/auth-jwt.js +++ b/ui/app/components/auth-jwt.js @@ -9,7 +9,7 @@ import { waitFor } from '@ember/test-waiters'; const WAIT_TIME = 500; const ERROR_WINDOW_CLOSED = - 'The provider window was closed before authentication was complete. Please click Sign In to try again.'; + 'The provider window was closed before authentication was complete. Your web browser may have blocked or closed a pop-up window. Please check your settings and click Sign In to try again.'; const ERROR_MISSING_PARAMS = 'The callback from the provider did not supply all of the required parameters. Please click Sign In to try again. If the problem persists, you may want to contact your administrator.'; const ERROR_JWT_LOGIN = 'OIDC login is not configured for this mount';