Thanks Mikko. I'll take a look at the code. We won't be using SQLAlchemy though so I'll see how much I can reuse
On Thursday, August 31, 2017 at 11:45:45 AM UTC-5, Mikko Ohtamaa wrote: > > 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] > <javascript:>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/107c600c-d8ce-4836-ad9e-33991e619fc9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
