Bug 1459098 - Logging in via Bugzilla account fails after attempt to log in via Fedora account
Logging in via Bugzilla account fails after attempt to log in via Fedora account
Status: CLOSED NEXTRELEASE
Product: Bugzilla
Classification: Community
Component: User Accounts (Show other bugs)
5.0
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ---
: ---
Assigned To: Jeff Fearn
tools-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-06 05:40 EDT by Nils Philippsen
Modified: 2017-07-13 23:07 EDT (History)
3 users (show)

See Also:
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-13 23:07:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nils Philippsen 2017-06-06 05:40:06 EDT
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 05:51:19 EDT
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&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.

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