W3cubDocs

/Web APIs

FederatedCredential: protocol property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The protocol property of the FederatedCredential interface returns a read-only string containing a credential's federated identity protocol. If this property is null, the protocol may be inferred from the FederatedCredential.provider property.

Value

A string containing a credential's federated identity protocol (e.g. openidconnect).

Examples

// TBD

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
protocol 51 79 No 38 No 51 No 41 No 5.0 51 No

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/FederatedCredential/protocol