Re: [racket-users] Web server + authentication

2020-02-15 Thread 'John Clements' via Racket Users
Wait, we *all* have postmark libraries? Sigh. John > On Jan 23, 2020, at 16:29, Jens Axel Søgaard wrote: > > Den tor. 23. jan. 2020 kl. 01.47 skrev Matthew Butterick : > I concur on Postmark. For 2+ yrs I've used it with the Racket web server for > mbtype.com. I pass the server settings to

Re: [racket-users] Web server + authentication

2020-01-23 Thread Jens Axel Søgaard
Den tor. 23. jan. 2020 kl. 01.47 skrev Matthew Butterick : > I concur on Postmark. For 2+ yrs I've used it with the Racket web server > for mbtype.com. I pass the server settings to `smtp-send-message` from ` > net/smtp`. > > On 22 Jan 20, at 3:00 AM, Bogdan Popa wrote: > > I like using

Re: [racket-users] Web server + authentication

2020-01-23 Thread Stephen Foster
Philip -- My general thinking is: the more Racket examples in the world, the better. I'd certainly be interested to see how you used continuations to do your one-time-use links. Bogdan -- Lack of examples is also my main blocker when it comes to Koyo. The API docs are good, but I'm one of

Re: [racket-users] Web server + authentication

2020-01-22 Thread Philip McGrath
I configure Postfix to send external mail via Amazon's "Simple Email Service," then use `net/sendmail`. Having a working mail-transfer agent means you can easily send yourself mail from other tools on the system, too, like a cron job to renew the TLS certificates. (I haven't looked at Postmark, so

Re: [racket-users] Web server + authentication

2020-01-22 Thread Matthew Butterick
I concur on Postmark. For 2+ yrs I've used it with the Racket web server for mbtype.com . I pass the server settings to `smtp-send-message` from `net/smtp `. > On 22 Jan 20, at 3:00 AM, Bogdan Popa wrote: > > I like using Postmark[0] for this. Their free plan lets you

Re: [racket-users] Web server + authentication

2020-01-22 Thread Bogdan Popa
Jens Axel Søgaard writes: > But I haven't implemented "reset password" functionality yet. I need > to figure out how best to handle sending mails from a server. My > concern is being flagged for spamming - so I don't dare use my normal > mail. I like using Postmark[0] for this. Their free

Re: [racket-users] Web server + authentication

2020-01-21 Thread Jens Axel Søgaard
Look at `koyo`. https://docs.racket-lang.org/koyo/index.html?q=koyo For simple user login with secure sessions look at https://github.com/soegaard/racket-stories/blob/master/app-racket-stories/control.rkt#L58 But I haven't implemented "reset password" functionality yet. I need to figure

[racket-users] Web server + authentication

2020-01-21 Thread Stephen Foster
Ruby on Rails has a nice package called Devise, which handles things like: letting users log into your webapp, letting them reset their passwords, etc. In the Racket ecosystem, I'm struggling even to find examples of managing users. I'm about to start digging here: