Skip to content
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

CognitoAuth: user userId instead of userName for end-user interactions #63

Open
2 tasks
suhussai opened this issue Jun 28, 2024 · 0 comments
Open
2 tasks

Comments

@suhussai
Copy link
Contributor

Describe the feature

Relevant thread: https://github.com/awslabs/sbt-aws/pull/57/files/1276d286c6b568cdfaf25c17aaca6a739ad5039a#r1658784148

As I write this, one improvement that I think we need to make is to clarify to end-users what the value they should use for userId. This might require us to map the userName we get from a call such as admin_get_user(...) that we make as part of this function

to userId and pass that back to the user. The result would be that the end-user sees userId wherever they would typically see userName and so we avoid confusion. That's something we can iron out, though. Appreciate the comment!

Use Case

This is to help customers avoid confusion between userName and userId.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.140.1

Environment details (OS name and version, etc.)

Mac OS

@suhussai suhussai mentioned this issue Jun 28, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant