I'm implementing OAuth 2.0 in Electron
to use the Google Calendar API and realize that a client_secret
is required.
Searching around I see two options:
Electron
Apps actually have their source code accessible in the compiled app,the secret can still be extracted.What are the best practices to do this as of now? If possible I want to avoid having the user go through the process of obtaining his own client_secret
This doesn't answer how to avoid bundling a client_secret
but solves the problem.
For anyone wondering on how to do this for Electron
,the docs mention that by selecting Other for the type it's okay to have the secret out in the public
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With