RIT*_*DAS 5 amazon-web-services aws-cloudformation amazon-cognito
我正在使用亚马逊网络服务。在 AWS CloudFormation 中,我正在创建一个 JSON 模板,其中必须添加身份池作为资源,并且必须使用 Google 作为 Cognito 身份提供商。如果我们在 CognitoIdentityProvider 中使用 Google,那么对象中的值应该是什么?IE
"CognitoIdentityProvider":[
{
"ClientId": String,
"ProviderName": String,
"ServerSideTokenCheck": Boolean
}
]
Run Code Online (Sandbox Code Playgroud)
如果我们使用 Google 作为 CognitoIdentityProvider ,任何人都可以帮助我了解此对象属性的值吗?请帮忙。
与我可以使用 Cloudformation 设置 AWS Cognito 用户池身份提供商吗?
正如我在那里所说的,对我有用的是:
CognitoUserPoolIdentityProvider:
Type: AWS::Cognito::UserPoolIdentityProvider
Properties:
ProviderName: Google
AttributeMapping:
email: emailAddress
ProviderDetails:
client_id: <yourclientid>.apps.googleusercontent.com
client_secret: <yourclientsecret>
authorize_scopes: email openid
ProviderType: Google
UserPoolId:
Ref: CognitoUserPool
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1167 次 |
| 最近记录: |