We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

RTCIdentityErrorEvent.loginUrl

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The read-only property RTCIdentityErrorEvent.loginUrl is a DOMString giving the URL where the user can complete the authentication. It can be null and is provided by the identity provider (idp).

Firefox implements the interface of this property under the following name: RTCPeerConnectionIdentityErrorEvent. It is likely that it will correct this name when it will unprefix RTCPeerConnection, once spec and implementation will have been stabilized.

Syntax

var loginUrl = event.loginUrl;
event.loginUrl = "https://developer.mozilla.org/fakeURL";

Example

pc.onidpassertionerror = function( ev ) {
                           alert("The idp requested an authentication" +
                                 " to be performed at th3 URL '" + 
                                 ev.url + 
                                 "'.");
                         }

Specifications

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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ? ? No Yes ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No No ? ? ? No No

See also

Document Tags and Contributors

Contributors to this page: fscholz, teoli
Last updated by: fscholz,