Bug 1459098

Summary: Logging in via Bugzilla account fails after attempt to log in via Fedora account
Product: [Community] Bugzilla Reporter: Nils Philippsen <nphilipp>
Component: User AccountsAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0CC: christianbueno.1, developer.me, nphilipp, qgong, yijli
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.0.3-rh31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-14 03:07:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nils Philippsen 2017-06-06 09:40:06 UTC
Description of problem:
When trying to find a workaround for bug #1459083, I attempted to log in via my Fedora account (which has the correct email address stored). This didn't work, therefore I tried it with the plain BZ account (email address/password) which ran into an HTTP 414 error: "Request-URI Too Long".

Version-Release number of selected component (if applicable):
version 5.0.3.rh29

How reproducible:
Reproducible.

Steps to Reproduce:
1. As someone whose Fedora account has a Red Hat email address, try to login via "Login → Fedora Account System"
1.1. Optionally type in Fedora account credentials.
2. Be told that "@redhat.com addresses must use the Red Hat Associate IDP to login."
3. Attempt to log in via "Login → Red Hat Bugzilla Account" with email address and password

Actual results:
"Request-URI Too Long

The requested URL's length exceeds the capacity limit for this server."

The URL in the location bar was ~18kB long.

Expected results:
I am logged into my Bugzilla account.

Additional info:
Using the SAML login method before trying to log into the plain Bugzilla account does not produce this error, merely removing the cookies for beta-bugzilla.redhat.com does not help. However, it does work when using a new incognito or private browser window so maybe cookies for other sites (FAS?) play a role.

Comment 1 Nils Philippsen 2017-06-06 09:51:19 UTC
Clicking around a bit, I found the following:

- After the unsuccessful attempt to log in via FAS, I am on https://beta-bugzilla.redhat.com/saml2_acs.cgi#
- The action attribute for the "mini_login" form is "saml2_acs.cgi?RelayState=https%3A%2F%2Fbeta-bugzilla.redhat.com%2Findex.cgi&amp;SAMLResponse=" + loads of junk.
- Returning to the home page and trying to log in from there (where action="index.cgi") works, so it's not about cookies after all.

Comment 2 christianbueno 2021-06-03 17:15:35 UTC
Yes, I was trying to login with the FAS account but fails.

i have checked my password character by character but after ten times i had not been able to login there using the FAS account.
But trying from the bugzilla home page works fine.
Another problems is that when log out , and reload the page , automatically login again.

Comment 3 André Krüger 2021-06-10 12:57:00 UTC
The issue seems to be gone after creating ~/.android/advancedFeatures.ini with the following content:

QuickbootFileBacked = off