Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Firebase和Xcode(swift)实现Github身份验证_Swift_Github_Firebase_Firebase Authentication - Fatal编程技术网

使用Firebase和Xcode(swift)实现Github身份验证

使用Firebase和Xcode(swift)实现Github身份验证,swift,github,firebase,firebase-authentication,Swift,Github,Firebase,Firebase Authentication,我一直收到此错误“发生内部错误,请打印并检查错误详细信息以获取更多信息”当尝试通过我从Github收到的访问令牌登录时 let credential = FIRGitHubAuthProvider.credentialWithToken(accessToken) FIRAuth.auth()?.signInWithCredential(credential) { (user, error) in

我一直收到此错误“发生内部错误,请打印并检查错误详细信息以获取更多信息”当尝试通过我从Github收到的访问令牌登录时

let credential = FIRGitHubAuthProvider.credentialWithToken(accessToken)
                        FIRAuth.auth()?.signInWithCredential(credential) { (user, error) in
                            if let error = error { 
                                print(error.localizedDescription) 
                            }
                        }
这个问题似乎正在这里发生,但我不太清楚为什么。提前谢谢你