I've looked at the couchdb code and it seems they copied part of
erlang-oauth
inseatd of using it as an app so it's hard to use it as an example.

If there is no better example I'll have to implement something simple
myself.

Thank you

On Aug 14, 1:21 pm, Tim Fletcher <[email protected]> wrote:
> > Can someone please show me how to start with this erlang lib
>
> There is an example mochiweb server 
> athttp://github.com/tim/erlang-oauth-examples,
> but that doesn't do things "properly", i.e., you'd have to write quite
> a bit more code to make that into something you could use in a
> production website.
>
> Recently, Jason Davies integrated erlang-oauth with CouchDB (http://
> couchdb.apache.org/), so that would be a more realistic example.
>
> > How do I generate the website "Secret" and how do I generate
> > a Salt for users?
>
> However you like. If you want something unpredictable then i would
> suggest taking a look at the Erlang crypto library (http://erlang.org/
> doc/apps/crypto/), which can be used to generate random bytes.
>
> Hope that helps a bit.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to