[Openid-specs-ab] session status change notification questions
brockallen at gmail.com
Wed Dec 31 19:09:28 UTC 2014
A couple of questions about the session management spec related to the status change notifications (section 4):
2) For the statement from section 4.2: “The OP iframe MUST enforce that the caller has the same origin as its parent frame.” I’m uncertain how to do this in the OP iframe, given that it seems to be a cross-origin security concern to ascertain the origin of the parent window. I don’t think ‘referrer’ is the most reliable approach.
3) The spec states that the OP iframe and the RP iframe should be both contained within the main RP window (so the iframes are siblings). Is there a reason the RP iframe can’t contain the OP iframe?
If it can, then this would address my question #2 above, as the source.window (on the message event args) can be compared to the parent.window to ensure that only the parent is sending the messages.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openid-specs-ab