pass team membership data to the underlying app in a "X-{whatever}" http header

Bug #620477 reported by Stuart Metcalfe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apache OpenID
Fix Released
Critical
Anthony Lenton

Bug Description

The openid is passed through to the underlying app with the "X-Remote-user" (iirc) header. We should do the same with the team membership data as a standard comma-separated string, same as is returned by sso/lp

Revision history for this message
Stuart Metcalfe (stuartmetcalfe) wrote :

Here a line which will work:

self.request.headers_in['X-OpenID-teams'] = teams_string # <- raw comma-separated string as returned by SSO

We just need to add this to the openidteams handler in a way which always adds this info to the request and overwrites anything the user may have passed in.

Changed in apache-openid:
importance: High → Critical
status: New → Triaged
assignee: nobody → Danny Tamez (zematynnad)
Changed in apache-openid:
assignee: Danny Tamez (zematynnad) → Anthony Lenton (elachuni)
status: Triaged → In Progress
Changed in apache-openid:
status: In Progress → Fix Committed
Changed in apache-openid:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.