Bug 1779290 - Log in page is creating a sign in pop-up for login credentials
Summary: Log in page is creating a sign in pop-up for login credentials
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - Service
Version: 5.10.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.12.0
Assignee: Dávid Halász
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1785357 1785359
TreeView+ depends on / blocked
 
Reported: 2019-12-03 17:05 UTC by Khushbu Borole
Modified: 2023-03-24 16:17 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1785357 1785359 (view as bug list)
Environment:
Last Closed: 2020-06-10 13:08:02 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Login Page Pop Up (8.96 KB, image/png)
2019-12-03 17:05 UTC, Khushbu Borole
no flags Details

Description Khushbu Borole 2019-12-03 17:05:49 UTC
Created attachment 1641734 [details]
Login Page Pop Up

Description of problem:
The login page is creating a pop-up. From the browser error it seems that this is caused by the web page attempting to contact the api. We do not want this popup to be shown

Version-Release number of selected component (if applicable):
Red Hat CloudForms 4.6 [ CFME 5.10.6 ]

How reproducible:
Always on Google Chrome Browser

Steps to Reproduce:
1. Login CloudForms UI on Google Chrome
2. Enter wrong creds and an api pop up will appear
Following warning is catched in audit.log
`[----] W, [2019-12-03T11:10:54.464108 #25918:5988dc0]  WARN -- Failure: MIQ(Base.audit_failure) userid: [ds] - Authentication failed for userid **`
3. Enter the correct creds in the API pop up, still it shows up again and catches the same warn in the logs.

Refer the attached image for reference

Actual results:
The sign up pop up should not appear.

Expected results:
Login fail message should appear on the login page without the sign up pop up.

Additional info:
Firefox displays the `Login failed: Unauthorized` error while not the case with Google Chrome

Comment 3 John Dupuy 2019-12-04 12:24:02 UTC
This was fixed in 5.10.13.0 (and in 5.11)

I believe this BZ is a duplicate of:
https://bugzilla.redhat.com/show_bug.cgi?id=1767018
https://bugzilla.redhat.com/show_bug.cgi?id=1632718

Comment 4 Milan Zázrivec 2019-12-05 09:18:49 UTC

*** This bug has been marked as a duplicate of bug 1632718 ***

Comment 10 Milan Zázrivec 2019-12-13 13:14:13 UTC
(In reply to Khushbu Borole from comment #9)
> Hey Milan,
> 
> Do you have any update on this ?
> 
> Milan, were you able to access and view the logs ?

No.

Comment 11 Milan Zázrivec 2019-12-13 13:16:16 UTC
> Also, The CU CFME self service login page is externally accessible on ...
> I can see that the api pop up occurs as soon as I land up on the page

Why are you mentioning service ui? Is this a service ui issue? Initial
comment does not mention service ui at all.

Comment 13 CFME Bot 2019-12-19 13:41:37 UTC
New commit detected on ManageIQ/manageiq-api/master:

https://github.com/ManageIQ/manageiq-api/commit/401aff80203703a9cac15ae61b0e779609e13a7b
commit 401aff80203703a9cac15ae61b0e779609e13a7b
Author:     Dávid Halász <dhalasz>
AuthorDate: Thu Dec 19 07:11:10 2019 -0500
Commit:     Dávid Halász <dhalasz>
CommitDate: Thu Dec 19 07:11:10 2019 -0500

    Distinguish between SUI AJAX basic auth and regular basic auth

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1779290

 app/controllers/api/base_controller/authentication.rb | 7 +-
 1 file changed, 4 insertions(+), 3 deletions(-)


Note You need to log in before you can comment on or make changes to this bug.