Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1195622 - sometimes refreshing External AD UserGroups may throw Invalid authenticity token
Summary: sometimes refreshing External AD UserGroups may throw Invalid authenticity token
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Daniel Lobato Garcia
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-24 08:10 UTC by Kedar Bidarkar
Modified: 2023-09-14 02:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 15:48:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14409 0 Normal Resolved sometimes refreshing External AD UserGroups may throw Invalid authenticity token 2020-09-11 11:20:45 UTC
Red Hat Knowledge Base (Solution) 2137791 0 None None None 2016-01-25 09:14:37 UTC

Description Kedar Bidarkar 2015-02-24 08:10:16 UTC
Description of problem:

sometimes refreshing External AD UserGroups may throw Invalid authenticity token 

Processing by UsergroupsController#edit as */*
  Parameters: {"id"=>"2"}
  Rendered common/_edit_habtm.html.erb (0.1ms)
  Rendered common/_edit_habtm.html.erb (7.0ms)
  Rendered usergroups/_external.html.erb (4.4ms)
  Rendered usergroups/_external.html.erb (3.8ms)
  Rendered usergroups/_external.html.erb (3.7ms)
  Rendered usergroups/_form.html.erb (52.9ms)
  Rendered usergroups/edit.html.erb (53.4ms)
Completed 200 OK in 70ms (Views: 50.1ms | ActiveRecord: 6.1ms)
Processing by ExternalUsergroupsController#refresh as HTML
  Parameters: {"authenticity_token"=>"CvNA8E+Hr2FCsnL3yu3mBpA/pmLqL3YDaFBH3qmv7HA=", "id"=>"foobargroup"}
WARNING: Can't verify CSRF token authenticity
Operation FAILED: ERF42-4995 [Foreman::Exception]: Invalid authenticity token
  Rendered common/500.html.erb within layouts/application (6.4ms)
  Rendered layouts/base.html.erb (1.5ms)
Completed 500 Internal Server Error in 217ms (Views: 213.8ms | ActiveRecord: 0.0ms)



Version-Release number of selected component (if applicable):
sat6.1 beta snap3

How reproducible:


Steps to Reproduce:
1. create user-group
2. add external AD UserGroup
3.

Actual results:
Invalid authenticity token received, but users info gets fetched from AD

Expected results:
No such error as shown above

Additional info:

Comment 3 Daniel Lobato Garcia 2016-03-31 06:36:55 UTC
Created redmine issue http://projects.theforeman.org/issues/14409 from this bug

Comment 4 Bryan Kearney 2016-03-31 08:12:25 UTC
Upstream bug component is WebUI

Comment 6 Daniel Lobato Garcia 2016-12-20 15:48:42 UTC
Kedar - I'm going to go with closing this one as I don't think this is an issue anymore. I don't know why you got those errors, maybe you had two tabs in the same browser with two different sessions?

I see on https://bugzilla.redhat.com/show_bug.cgi?id=1404114 you're able to add External User groups without issue or Invalid Authenticity token. 

Feel free to reopen with more info if you think this problem affects 6.2 and needs some action to be taken.

Comment 7 Red Hat Bugzilla 2023-09-14 02:55:14 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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