romaninsh
romaninsh

Reputation: 10664

OAuth and obtaining shared secret securely

I am building a downloadable web application, which is packaged as a ZIP archive. When downloaded webmaster is taken through installer. As one step of the installer, he is asked to "register" his copy from the main site. After registration is successful I need to issue that particular copy of my software a shared key/secret for further API access through OAuth.

Please advise the most secure and correct way to do this. Again, here are steps:

Another question is can I obtain token during the initial handshake or should I perform that step later.

Upvotes: 0

Views: 611

Answers (1)

Will Hartung
Will Hartung

Reputation: 118714

Have the web app itself perform the transaction itself, and then collect the secret directly. Don't have the users go to the external site.

Secret Sequence Diagram

Upvotes: 1

Related Questions