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

Security concern on saving secret in app #18

Open
jjteoh-pingspace opened this issue Aug 24, 2021 · 2 comments
Open

Security concern on saving secret in app #18

jjteoh-pingspace opened this issue Aug 24, 2021 · 2 comments

Comments

@jjteoh-pingspace
Copy link

Hi I am new to mobile development, sorry if I asked a dumb question.

Isn't that saving consumer secret in the app is a bad practice and potentially lead to security breach?

@samarthagarwal
Copy link
Owner

Yeah, it is not completely safe but the other way would be to implement a backend middleware server that will talk to the WooCommerce backend on the behalf of your app.

@quydau35
Copy link

quydau35 commented Mar 4, 2022

Hi I am new to mobile development, sorry if I asked a dumb question.

Isn't that saving consumer secret in the app is a bad practice and potentially lead to security breach?

My solution for encapsulate all secrets & exposable constants is to use a pre-load api to get those field from a private firebase server, or get them from a server to the device and initiate the app with those constants before calling any other API.

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

3 participants