Using aws cli for Cognito callback URLs will remove OIDC settings

0

I use aws cli to add a callback URL to cognito, For this I use:

endoutput=$(aws cognito-idp update-user-pool-client --user-pool-id ${UserPoolId} --client-id ${ClientId} --callback-urls ${NewCallbackUrls} --region ${RegionId})

So far so good, the new CallbackUrl is added after this call but the values: Identity providers, OAuth 2.0 grant types and OpenID Connect scopes are gone after this call. What I forgeot here? I expect that this settings keep as they are because I have not changed them.

1回答
0

Hello.

Options that are not set will be returned to their default values.
I think it disappears because "--supported-identity-providers" etc. are not specified in the command you are running.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cognito-idp/update-user-pool-client.html

If you don’t provide a value for an attribute, Amazon Cognito sets it to its default value.

profile picture
エキスパート
回答済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ