-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Is this related to a new or existing framework?
React Native
Is this related to a new or existing API?
Authentication
Is this related to another service?
Cognito
Describe the feature you'd like to request
Opening a new ticket for this as a issue on its own per request and confirmed in #13918 and by AWS support
Amplify for Expo/React-native has a feature gap that prevents it from sending users context data to Cognito which causes escalating threat levels for logins resulting in some cases where users who log in several times a week get blocked permanently after a while.
Note the validation of logins through the Cognito console apparently will not deescalate the threat levels after a certain point. Meaning we have user accounts (notably my own and a few others) not able to log into the application I developed in the production environment!!! Luckily this has not impacted paying clients to frequently and they have not reached the High threat levels yet.
This impacts deployments when using Amplify Expo/react-native for Web and Mobile devices.
As a note: Amplify claims full support for expo including web, despite issues where they dropped support for react-native-web in V6. A paradox they have yet to resolve.
This issue impacts paying clients for apps developed in Expo that require web-based interfaces in addition to mobile. Security is not something to be taken lightly and needs to be implemented for all platforms. I only specify this because the tech in the previous topic conveniently omitted web from his response.
AWS claims SOC and HIPAA compliance, which was a major factor in deciding to use it years ago. https://docs.aws.amazon.com/security/
We have clients that require HIPAA and SOC. If these features are not available through Expo web / react-native, then we have submitted your documentation as proof of compliance to many paying clients. And I do not know how bad that will be if it turns out that web is going to get skipped over yet again for a amplify feature gap.
Describe the solution you'd like
The ability to use Advanced threat detection with Cognito through the Amplify Expo/React-native framework for all platforms.
Describe alternatives you've considered
No one from support has been able to suggest any workarounds or alternatives that would maintain HIPAA and SOC requirements or work so far.
Additional context
The one proposed hack to possibly get it working is to somehow wrap the js scripts into our application so the function getUserContextData from amplify-js can be used within our application. But I do not see how we could implement this into our existing application.
I already collect the equivalent user data from web and mobile manually without the js function. But as far as I can tell the issue seems to be that Amplify.Auth can't send the data to Cognito regardless.
Is this something that you'd be interested in working on?
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change