coast-framework / coast

The fullest full stack clojure web framework
https://coast.swlkr.com
MIT License
559 stars 31 forks source link

Authn/Authz/Registration integrate into core #74

Open Immortalin opened 5 years ago

Immortalin commented 5 years ago

Django has authn/Authz/ registration built-in, Rails has devise, ASP .NET Core has Identity. This is too important a feature to leave to external libraries and security is something that's difficult to implement well by end users. Some typical features would be user sign ups, password reset, passwordless email links auth, 2FA WebAuthn, API Token Auth, OAuth etc.

swlkr commented 5 years ago

I was just talking about this, I definitely wanted to write some coast specific middleware that handles auth similar to devise, this definitely motivates me to get it done

Immortalin commented 5 years ago

@swlkr here's another example:

https://github.com/danschultzer/pow

dawranliou commented 4 years ago

At the meanwhile, you can also follow the Authentication on the doc. Here's how you do it in action: https://youtu.be/Wm2wQILm0x4 😄