generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Labels
authIssue pertaining to Amplify AuthIssue pertaining to Amplify Authfeature-requestNew feature or requestNew feature or requestneeds-product-inputNeeds non-technical requirements or direction to proceedNeeds non-technical requirements or direction to proceedstorageRelated to the storage experienceRelated to the storage experience
Description
Environment information
NA
Describe the feature
Problem:
If a user is in multiple groups, currently there is not a way to specify the group during login so that the user can assume different roles.
Possible solution:
According to the Cognito documentation, the solution is to specify the CustomRoleARN parameter in the GetCredentialsForIdentity API call. Therefore the role ARN should be exported to the amplify_outputs.json file, and then the frontend amplify library should use this information to call the API.
Use case
Allow users switching between different groups.
Metadata
Metadata
Assignees
Labels
authIssue pertaining to Amplify AuthIssue pertaining to Amplify Authfeature-requestNew feature or requestNew feature or requestneeds-product-inputNeeds non-technical requirements or direction to proceedNeeds non-technical requirements or direction to proceedstorageRelated to the storage experienceRelated to the storage experience