Как устранить ошибку Firebase для oAuth в Swift. Код FIRAuthErrorDomain = 17999 - PullRequest
0 голосов
/ 17 сентября 2018

Мой метод создания аутентификации пользователя больше не работает, и я получаю сообщение об ошибке, которого раньше не видел. Я проверил GoogleService-Info.plist, и все значения соответствуют моей панели управления firebase. Даже перезагружал его, чтобы быть уверенным. Я включил метод входа, а также включил API Identity Toolkit из облачной платформы Google.

Нашел некоторые хорошие ответы о переполнении стека, но они не связаны с внутренней ошибкой ‘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.

imageenter image description here">

...