[racket] Web authentication tutorials?
OK. Thanks, Jay.
Best,
jmj
On Oct 7, 2014, at 8:09 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> As far as I know, a library similar to what you describe does not
> exist. As far as using authentication generally, there's nothing
> special that you should do differently in a Racket app... just follow
> any advice out there on the Internet but generate the HTML and check
> the request with Racket. There are some libraries for reading and
> writing common digest formats:
>
> web-server/http/id-cookie
> web-server/http/basic-auth
> web-server/http/digest-auth
>
> Jay
>
> On Mon, Oct 6, 2014 at 8:05 PM, Jordan Johnson <jmj at fellowhuman.com> wrote:
>> Dear Racketeers,
>>
>> [tl;dr: I’m wondering what is the current state of the art for authentication in Racket Web apps. What would be a good starting point for learning how to do authentication with options to authenticate via password DB and via OAuth with a common authorization service such as those from Google and Facebook?]
>>
>> I haven’t done much Web programming in recent years, so I’m not familiar with standard practice for authentication and authorization, and the sheer quantity of info out there is daunting. One of my students was demoing a Meteor app he wrote, and I was impressed by the apparent simplicity: just adding something like “{{login_buttons}}” to the page template got him HTML login buttons, Google/FB login (once he obtained an app key), and a session object he could use for checking authorization in his DB queries. I’m wondering if anybody’s written a similar library in Racket. The closest I seem to be able to find are Ryan Culpepper’s webapi/oauth2 and Ray Racine’s gut/oauth packages. Any further suggestions?
>>
>> Thanks,
>> Jordan
>>
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>
>
>
> --
> Jay McCarthy
> http://jeapostrophe.github.io
>
> "Wherefore, be not weary in well-doing,
> for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
> - D&C 64:33