Adding idp and protocol attributes to event.