Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to encrypt data for current user after using enableEncryptedUser #137

Open
gaurav341 opened this issue Nov 2, 2023 · 0 comments

Comments

@gaurav341
Copy link

gaurav341 commented Nov 2, 2023

Hi,

Problem: current user data is in plain text form, anyone one access and read
Solution tried: i just checked parse documents and found this link https://docs.parseplatform.org/js/guide/#encrypting-current-user, but it's not encrypting data as checked by appsec team
Technology: React Native

versions
react-native: 0.68.7
parse: 3.5.1

basic code:

import Parse from 'parse/react-native.js';
const {APP_ID, BASE_URL, PARSE_SECRET} = env

Parse.enableEncryptedUser();
Parse.secret = PARSE_SECRET;
Parse.setAsyncStorage(AsyncStorage);
Parse.initialize(APP_ID);
Parse.serverURL = BASE_URL;

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

No branches or pull requests

1 participant