Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alsmola/nopassword
An authentication and session management framework that eliminates the need for passwords.
https://github.com/alsmola/nopassword
Last synced: 4 months ago
JSON representation
An authentication and session management framework that eliminates the need for passwords.
- Host: GitHub
- URL: https://github.com/alsmola/nopassword
- Owner: alsmola
- License: mit
- Archived: true
- Created: 2012-04-20T20:08:29.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T04:48:17.000Z (over 4 years ago)
- Last Synced: 2024-07-31T17:23:59.538Z (7 months ago)
- Language: Ruby
- Size: 11.4 MB
- Stars: 557
- Watchers: 22
- Forks: 21
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
NoPassword is a simple authentication and session engine that removes
the need for passwords. Instead, it uses tokens sent to an email
address, similar to most forgot password functionality. These tokens
created long-lived sessions that can be tracked and revoked easily.[Ben Brown](http://ilovebenbrown.com/) wrote a great article about [password-less logins](http://notes.xoxco.com/post/27999787765/is-it-time-for-password-less-login), the same concept implemented by NoPassword.
NoPassword is structured as a Rails Engine, which you can mount in your
routes file:mount Nopassword::Engine, :at => "/nopassword"
You'll need to install the migrations:
rake nopassword:install:migrations
rake db:migrateYou can set up a signin form with the `send_login_email` route and a
request parameter named `email`.You'll need to get Rails' [ActionMailer](http://guides.rubyonrails.org/action_mailer_basics.html) configured correctly for sending NoPassword emails.
Finally, you need to download the latest GeoIP database:
cd db
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz && gzip -d GeoLiteCity.dat.gzNoPassword uses the MIT-LICENSE.