Currently, we use username to communicate to the API which user we want to interact with. It would be better to make this more generic by using something like userId in order to account for IdPs that may use something else to uniquely identify a user in their system.
Use Case
Some IdPs support users having the same username. In that case, the IAuth will not work for such as users as it currently relies on username being able to uniquely identify a user within the system.
Proposed Solution
No response
Other Information
No response
Acknowledgements
[ ] I may be able to implement this feature request
Describe the feature
Currently, we use
username
to communicate to the API which user we want to interact with. It would be better to make this more generic by using something likeuserId
in order to account for IdPs that may use something else to uniquely identify a user in their system.Use Case
Some IdPs support users having the same username. In that case, the IAuth will not work for such as users as it currently relies on username being able to uniquely identify a user within the system.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.140.1
Environment details (OS name and version, etc.)
Mac OS - Sonoma