[Auth] Not playing nice with CloudWatch RUM - errors about enhanced flow #9704
Labels
Auth
Related to Auth components/category
duplicate
If marked with duplicate, issue will be closed & original will be added for traceability
feature-request
Request a new feature
good first issue
Good for newcomers
Before opening, please confirm:
JavaScript Framework
Vue
Amplify APIs
Authentication
Amplify Categories
auth
Environment information
Describe the bug
We're using CloudWatch RUM (installed as described in the docs), and it doesn't seem to work with Amplify Auth.
For full details, see AWS support ticket 9710165501.
The following errors are occurring:
POST [https://cognito-identity.us-east-1.amazonaws.com/ ](https://cognito-identity.us-east-1.amazonaws.com/)
400 Bad Request
Request:
Response:
POST [https://sts.us-east-1.amazonaws.com/ ](https://sts.us-east-1.amazonaws.com/)
400 Bad Request
Request:
RoleArn=arn%3Aaws%3Aiam%3A%3Axx%3Arole%2Fprod-microservices-core-AuthIdentityPoolUnauthRole-1D5RV3V8X33VO&RoleSessionName=cwr&WebIdentityToken=undefined&Action=AssumeRoleWithWebIdentity&Version=2011-06-15
Response:
My identity pool does not have basic flow enabled, so I assume this means it's using enhanced flow which is what I want. The AWS support person had this to say:
Expected behavior
I'd expect Amplify Auth to work with CloudWatch RUM out of the box.
Reproduction steps
See above
Code Snippet
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: