Sublime Forum

Keeping OAuth client ID a secret

#1

To make my life easier, I have developed a plugin that will format a write-up that includes code snippets and post them to a Blogger blog. It works fine for my purposes, but I would like to share this without making the user have to jump through too many hoops. I’m using Google OAuth to log in and the client ID needs to exist in a json file. Google recommends to keep this a secret. I haven’t been able to find a way to keep this a secret and it seems the only way a user could use it would be to create their own API key and add it to the package before it will allow them to log in.

Has anyone found a possible solution for using OAuth with ST?

https://github.com/wporter82/blogger-sublime-plugin

0 Likes