RTCPeerConnection: idpassertionerror event

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

An idpassertionerror event informs the target, a RTCPeerConnection object, that the identity provider (IdP) encountered an error when trying to generate an identity assertion. An event handler for this event can be added using the RTCPeerConnection.onidpassertionerror property.

Bubbles No
Cancelable No
Interface RTCIdentityErrorEvent
Event handler property onidpassertionerror

Warning: This event is no longer used; instead, you can detect an assertion error by detecting when the promise returned by RTCPeerConnection.peerIdentity is rejected.


Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'idpassertionerror' in that specification.
Candidate Recommendation  

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
idpassertionerror event
Chrome No support NoEdge No support ≤18 — 79Firefox Full support 22IE No support NoOpera Full support 43Safari ? WebView Android No support NoChrome Android No support NoFirefox Android Full support 44Opera Android Full support 43Safari iOS ? Samsung Internet Android Full support 6.0


Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

See also