Appsync + Identity Pools + Resolver Context

0

The current setup we have:

  • Auth0 as an openID provider. Email ID is being passed in the access token from Auth0 (Rules based setup)
  • Identity Pool (authenticated only users allowed)
  • Appsync with IAM based auth

We are looking to establish row level security based on the user's ID (email) but the identity value in the context for the query resolver has a value of "xxxxxxxxxxxxxx:CognitoIdentityCredentials" in the username field. How can we get the user's email into the resolver context?

回答なし

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

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

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

関連するコンテンツ