-
Notifications
You must be signed in to change notification settings - Fork 816
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit updates externalAuthEnable() to include the auth sharedId when creating an auth resource. The sharedId is given the lowest priority in the authProps object so that it will not overwrite any previously existing sharedId. It also uses the sharedId from cognito-defaults for consistency. This change prevents the creation of "snsundefined" roles. Co-authored-by: Colin Ihrig <colihrig@amazon.com>
- Loading branch information
1 parent
eb1ee9c
commit fd552b4
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,4 +96,5 @@ module.exports = { | |
withSocialDefaults, | ||
entityKeys, | ||
roles, | ||
sharedId, | ||
}; |