Skip to content

Conversation

@evanliu048
Copy link
Contributor

Issue #, if available:

Description of changes:
Backend:
Updated profile command to check user type before allowing access
Non-IDC users now receive clear error message: "This command is only available for IAM Identity Center users"

Frontend:
Added auth type check before calling Profile.listAvailableProfiles() in preferences page
Prevents unnecessary API calls for BuilderId and Social login users

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@evanliu048 evanliu048 requested a review from a team as a code owner October 29, 2025 17:17
Copy link
Contributor

@dingfeli dingfeli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same nit as aws/amazon-q-developer-cli#3306 (comment) but other this LGTM.

@evanliu048 evanliu048 merged commit 373c6ff into qv2 Oct 29, 2025
20 of 25 checks passed
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

Successfully merging this pull request may close these issues.

3 participants