electron-oauth-helper icon indicating copy to clipboard operation
electron-oauth-helper copied to clipboard

How do ensure security in desktop apps?

Open 345ml opened this issue 4 years ago • 0 comments

https://github.com/mironal/electron-oauth-helper/blob/master/example/src/main/config.example.js Isn't there a security concern about using secret information such as client_id and client_secret in the client-side code, as shown in the example?

For example, is it possible for this third party to impersonate the same application? If this concern exists, would it be ideal to build a workflow through the server-side?

I apologize if this is a strange question.

345ml avatar Jul 08 '20 16:07 345ml