mozilla / openbadges-backpack

Mozilla Open Badges Backpack
https://backpack.openbadges.org/
Other
862 stars 263 forks source link

Set P3P Header (IE compatibility fix) #1002

Open cmcavoy opened 10 years ago

cmcavoy commented 10 years ago

This is a summary ticket for recurring issues pushing open badges via the Issuer API and Internet Explorer. Several issues around pushing badges in IE have appeared in the last several months. Notably #932 and more recently #1001.

All versions of IE require a P3P header to be set on any site that's included in an iFrame. IE is the only browser that requires this header. The issue is only in IE, and only when using the Modal workflow for pushing the badge. The non-modal workflow works without error. In #942 we created a workaround that would force IE browsers to use the non-modal workflow.

Although the P3P header is trivial to set, the information inside the header needs to be approved by Mozilla legal counsel. This ticket is to pursue that approval, and implement the P3P header properly.

In the meantime, the workaround for IE (forcing non-modal workflow) should work as described. Modern versions of Firefox and Chrome also push badges without issue.

davidascher commented 10 years ago

So, this is what we do as part of persona -- it's an interesting workaround:

https://github.com/mozilla/vinz-clortho/blob/master/server/lib/p3p.js

cmcavoy commented 10 years ago

@davidascher good find. Given the amount of time this issue has been open it seems like a perfectly acceptable workaround. Explicitly saying it's not a P3P doc is better than publishing an incorrect one. :thumbsup:

jessemorton commented 9 years ago

Are there plans to implement the suggestion by @davidascher ? More generally, is this project actively maintained? Thanks