我正在尝试在iOS中实现Cognito Identity Pools。关注link
我能看到Google和Facebook登录。只有我正在使用awsconfiguration.json。在AppDelegate.swift代码中
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
AWSDDLog.add(AWSDDTTYLogger.sharedInstance)
AWSDDLog.sharedInstance.logLevel = .info
return AWSMobileClient.sharedInstance().interceptApplication(
application,
didFinishLaunchingWithOptions: launchOptions)
提前致谢。
这是因为您不允许在您的应用程序中进行未经过身份验证的访问。您可以在配置用户登录时在我的应用程序中选择允许未经身份验证的用户,从而在Mobile Hub中进行配置。
谢谢,罗汉