Open javra opened 7 years ago
I don't think Portier is yet production ready. But yeah, the authentication chapter needs some cleanup.
I'm not going to have a chance for the cleanup in the immediate future. @javra would you be interested in sending a PR for some fixes?
@snoyberg Can we replace Browser Id section in the chapter with Facebook authentication using Felipe's yesod-auth-fb package ?
Also I'm worried about the package's non maintenance now. I think it's already out of Stackage now.
That works. What about using OpenID though? It seems a slightly more natural replacement as it doesn't require any secure credentials/account creation like Facebook.
I think, OpenID would be the better replacement.
I've been trying out the examples from the book and rewrote the blog example to OpenId. However, to my surprise the hardest part was to test it out: most of major OpenId providers deprecated it. As reader I would prefer the examples to be independent from external or non-mainstream services as much as possible. In this case I'd rather prefer simple login/password auth scheme.
This makes the
BrowserID
auth example deprecated and the auth chapter need a overhaul in general.It's pretty sad. I really dislike Google and I was maybe one of the few people who used Persona themselves. Maybe Yesod could provide support for Portier?