无法理解如何在flutter应用中设置AWS Cognito的谷歌登录。

问题描述 投票:0回答:1

我有一个正在进行的flutter项目,要使用AWS作为后端服务。首先我试图使用AWS Cognito来完成用户认证。我想给用户提供通过谷歌登录的选项。所以我需要在用户池中设置社会身份提供者。当在console.developer.google.com上设置一个控制台时,我们必须选择它是一个Android应用还是一个iOS应用(以及web服务器或网站等等......)由于Flutter是一个跨平台框架应用将被两个平台使用。所以我的问题是我是否要为android和iOS设置两次Google注册。如果我这样做,那么又会引起另一个问题。我如何在Cognito.Document by AWS and Google is not helpfulclear about these problems.How do I apply two different clientID I get for two platforms in one single app client in Cognito.Document by AWS and Google is not helpfulclear about these problems.

amazon-web-services flutter oauth-2.0 amazon-cognito google-authentication
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.