Bug 1515063

Summary: Satellite shows up invalid authenticity token randomly while trying to login to the Web UI
Product: Red Hat Satellite Reporter: sbadhwar
Component: AuthenticationAssignee: Marek Hulan <mhulan>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbuckingham, bkearney, jhutar, mhulan, psuriset, sbadhwar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-11 13:53:50 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:
Attachments:
Description Flags
Authentication error message on Web UI none

Description sbadhwar 2017-11-20 05:40:52 UTC
Created attachment 1355508 [details]
Authentication error message on Web UI

Description of problem:
When trying to login through the Web UI of Satellite 6.3, Satellite randomly throws up the error of Invalid authenticity token as can be seen with the attached screenshot.

Comment 2 Marek Hulan 2017-11-20 21:08:00 UTC
This is most likely not random. Is there a chance you have multiple tabs open and you logout/login or session timeoutes meanwhile? This error appears when the form generated from previous session is submitted and is actually expected. We could improve the error message though.

Comment 3 sbadhwar 2017-11-21 13:55:12 UTC
(In reply to Marek Hulan from comment #2)
> This is most likely not random. Is there a chance you have multiple tabs
> open and you logout/login or session timeoutes meanwhile? This error appears
> when the form generated from previous session is submitted and is actually
> expected. We could improve the error message though.

When I opened the page, AFAIK, no other tab related to the Satellite 6.3 Web UI was open. Session timeouts from a previous login might be the case, but usually whenever that happens, I have seen Satellite showing up a small notification stating that you have been logged out instead of the message as seen in the attached image.

Comment 7 Bryan Kearney 2017-12-11 13:53:50 UTC

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