[okfn-labs] GetMyGist changes
nick at whiteink.com
Wed May 23 11:25:16 UTC 2012
This is great, and the idea of using the Gist API as a code/whatever
storage platform is a great one. James Casbon played with the same
solution for early versions of notebook.js
On 21/05/2012 12:19, Rufus Pollock wrote:
> In addition, thanks entirely to Duke we always have write support via
> OAuth (unfortunately this requires a small oauth proxy) so we have a
> full-on mini-gist editor.
Unfortunately the proxy is a bit *too* minimal. Specifically I note that
you are storing the OAuth client secret clientside:
This is not a good idea, as it means that I can easily disable your
service by using your credentials to exceed the API rate limit.
Also, while it might not be in violation of GitHub's ToS, it's certainly
not good practice to share the client secret. See the second paragraph here:
The solution is to store this information server-side (in the proxy) and
to implement some kind of session management for clients of GetMyGist.
Best wishes, and not trying to be a downer,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the okfn-labs