Custom auth with adminInitiateAuth

0

Hello, my problem is that, Cognito isn't registering authentication events with adminInitiateAuth.

Here I have only access to username, so that's why I'm using CUSTOM_AUTH

AuthFlow: 'CUSTOM_AUTH',
AuthParameters: {
   USERNAME: username,
},
ClientId: clientId,
UserPoolId: userPoolId

It returns correct response (access token, refresh token), but it doesn't register Cognito authentication events in user details.

Table Last 100 authentication events is empty.

Tried with other AuthFlows and it worked, am I missing something?

質問済み 2年前560ビュー
1回答
0
承認された回答

Hi,

Currently logging of auth events (which is a feature in advanced security features) is only supported with standard authentication flows (USER_SRP_AUTH and USER_PASSWORD_AUTH), it is not supported with CUSTOM_AUTH flow.

AWS
エキスパート
回答済み 2年前

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

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

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

関連するコンテンツ