Hi Julian, Websauna implements basic sign in and sign up for you using SQLAlchemy persistency and Redis for sessions:
https://websauna.org/docs/narrative/user/index.html It also supports Facebook, Twitter and Google OAuth and various others. Best regards, Mikko On 31 August 2017 at 19:42, Julian Sanchez <[email protected]> wrote: > I'm getting my feet wet with Pyramid and going through the different > tutorials, applying the concepts to the project I'm working on. At the > present time I'm interested in having basic authentication and storing the > username and (securely hashed) password on a database table. > > Is there something already 'pre-made' that I could reuse so I don't have > to write all the code from scratch? I saw the tutorial on SQLAlchemy > <https://docs.pylonsproject.org/projects/pyramid/en/latest/tutorials/wiki2/authentication.html> > showing the registration code but we will not be using SQLAlchemy. The other > tutorial > <https://docs.pylonsproject.org/projects/pyramid/en/latest/quick_tutorial/authentication.html> > gives a flavor for checking the validity of a password but doesn't seem to > work with a repository of any kind (particularly a user registering into a > site). I've seen packages like Authomatic but they seem to provide OAuth > stuff. Maybe someone has made an extension to Authomatic for basic > authentication? How are you guys implementing authentication? > > Thanks, > Julian > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/pylons-discuss/59dd2c83-b286-4d85-a506-beeaca013322% > 40googlegroups.com > <https://groups.google.com/d/msgid/pylons-discuss/59dd2c83-b286-4d85-a506-beeaca013322%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Mikko Ohtamaa http://opensourcehacker.com http://twitter.com/moo9000 -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUsLbANkgLAEczaetK%3DGN9QCUj6TQ6Q0ECbnyfE3N3Av5g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
