You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make it possible to take a custom ProviderID as an argument as shown below, or prepare a separate method.
public enum AuthProviderID: String {
case apple = "apple.com"
case email = "password"
case facebook = "facebook.com"
case gameCenter = "gc.apple.com"
case gitHub = "github.com"
case google = "google.com"
case phone
case custom(String)
}
OR
// For Custom Provider
public static func credential(providerID: String, idToken: String,
rawNonce: String,
accessToken: String? = nil) -> OAuthCredential {
Firebase Product(s)
Authentication
The text was updated successfully, but these errors were encountered:
Description
Since #13097,
OAuthProvidel.credential
method now accepts the AuthProviderID as an Enum.In addition, methods that have the existing String type providerID as an argument now display a Deprecated warning and request migration.
However, this does not support custom ProviderIDs such as OpenID Connect, so products that use it cannot be migrated.
https://firebase.google.com/docs/auth/ios/openid-connect#manual
API Proposal
Please make it possible to take a custom ProviderID as an argument as shown below, or prepare a separate method.
OR
Firebase Product(s)
Authentication
The text was updated successfully, but these errors were encountered: