-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure Google attribute mapping without marking as required #13511
Comments
I am looking into doing that through the post-push command hook, but I don't have access to the user pool ID. |
I also found the following issue #12910. |
Hey @redjonzaci, thank you for reaching out. you should be able to create a custom attribute as optional using the auth override. we have an example on https://docs.amplify.aws/javascript/build-a-backend/auth/override-cognito/#customize-amplify-generated-cognito-auth-resources |
Hey @ykethan, I need to configure the Google attribute mapping, not a custom attribute on the Cognito user pool. |
Hey @redjonzaci, thank you for the clarification, this looks similar to #12910 (comment). |
I read in #11646 that if I mark attributes in Cognito as required, they will be added in the identity provider attribute mapping. Could I work on improving this feature so that it works properly? |
Also, the approach you're suggesting should work when creating new PRs? |
Hey @redjonzaci, when we create a auth resource with
on cognito |
Let's say I have added |
It worked. Thanks for the support and happy holidays @ykethan! |
@redjonzaci Glad to hear the suggestion worked. The Closing the issue, do reach out to us if you require any assistance. |
|
Amplify CLI Version
12.3.0
Question
I went through the following guide: https://docs.amplify.aws/javascript/build-a-backend/auth/override-cognito/#customize-amplify-generated-cognito-auth-resources-with-social-providers, but it didn't work. And in the following issue #11646, I saw that marking attributes as required should allow the mapping, but is there a way without marking as required?
The text was updated successfully, but these errors were encountered: