如何在Swift中解决oAuth的Firebase错误。 FIRAuthErrorDomain代码= 17999

时间:2018-09-16 23:23:02

标签: swift firebase firebase-authentication

我的create auth用户方法不再起作用,并且遇到了以前从未见过的错误。我检查了GoogleService-Info.plist,所有值都与我的Firebase仪表板匹配。甚至重新下载它以确保。我切换了登录方法,还从Google Cloud Platform启用了Identity Toolkit API。

找到了一些关于Stack Overflow的好的答案,但与“ status =” PERMISION_DENIED”内部错误无关。任何反馈将是巨大的! -这是完整的错误消息

Error creating Auth createUserWith(email:password:completionUser:completion:) 
        Error Domain=FIRAuthErrorDomain Code=17999 "An internal error has occurred, 
        print and inspect the error details for more information." UserInfo= . 
        {error_name=ERROR_INTERNAL_ERROR, NSLocalizedDescription=An internal error has 
        occurred, print and inspect the error details for more information., 
        NSUnderlyingError=0x60400025f7d0 {Error Domain=FIRAuthInternalErrorDomain 
        Code=3 "(null)" UserInfo={FIRAuthErrorUserInfoDeserializedResponseKey={
            code = 403;
            errors =     (
                    {
                domain = global;
                message = "Requests to this API identitytoolkit method google.firebase.auth.v1.IdentityIdaasAuthenticationService.SignUp are blocked.";
                reason = forbidden;
            }
        );
        message = "Requests to this API identitytoolkit method google.firebase.auth.v1.IdentityIdaasAuthenticationService.SignUp are blocked.";
        status = "PERMISSION_DENIED";
    }}}} An internal error has occurred, print and inspect the error details for more information.

这是我的代码和Firebase中的规则的屏幕截图。

<code>enter image description here</code>

0 个答案:

没有答案