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 consumer secret in app #66

Open
jjteoh-pingspace opened this issue Aug 24, 2021 · 1 comment
Open

Security concern on saving consumer secret in app #66

jjteoh-pingspace opened this issue Aug 24, 2021 · 1 comment

Comments

@jjteoh-pingspace
Copy link

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

From my understanding saving consumer secret in app is a bad practice, do you have any recommendation on securely passing the secret to the WooCommerce() constructor without saving it in the app?

@jjteoh-pingspace jjteoh-pingspace changed the title Security on saving consumer secret in app Security concern on saving consumer secret in app Aug 24, 2021
@nayi10
Copy link

nayi10 commented Aug 25, 2021

@jjteoh-pingspace you can use environment variables to store your secrets and then use a package such as flutter_dotenv to read them and pass to the constructor.

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

2 participants