lynndylanhurley/devise_token_auth


Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.

License: WTFPL

Language: Ruby


Devise Token Auth

Gem Version Build Status Code Climate Test Coverage Downloads Backers on Open Collective Sponsors on Open Collective Join the chat at https://gitter.im/lynndylanhurley/devise_token_auth

Simple, multi-client and secure token-based authentication for Rails.

If you're building SPA or a mobile app, and you want authentication, you need tokens, not cookies. This gem refreshes the tokens on each request, and expires them in a short time, so the app is secure. Also, it maintains a session for each client/device, so you can have as many sessions as you want.

Main features

This project leverages the following gems:

Installation

Add the following to your Gemfile:

gem 'devise_token_auth'

Then install the gem using bundle:

bundle install

Docs

Need help?

Please use StackOverflow for help requests and how-to questions.

Please open GitHub issues for bugs and enhancements only, not general help requests. Please search previous issues (and Google and StackOverflow) before creating a new issue.

Please read the issue template before posting issues.

FAQ

Contributors wanted!

See our Contribution Guidelines. Feel free to submit pull requests, review pull requests, or review open issues. If you'd like to get in contact, Zach Feldman has been wrangling this effort, you can reach him with his name @gmail. Further discussion of this in this issue.

We have some bounties for some issues, check them out!

Live Demos

Here is a demo of this app running with the ng-token-auth module and AngularJS.

Here is a demo of this app running with the Angular-Token service and Angular.

Here is a demo of this app using the jToker plugin and React.

The fully configured api used in these demos can be found here.

Contributors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

This project uses the WTFPL

Project Statistics

Sourcerank 12
Repository Size 8.31 MB
Stars 2,840
Forks 886
Watchers 55
Open issues 136
Dependencies 39
Contributors 170
Tags 94
Created
Last updated
Last pushed

Top Contributors See all

Lynn Dylan Hurley Brent Maicol Bentancor Olle Jonsson Konstantin Krzysztof Rybka Nicolas Besnard abeyuya Dan Segal Zach Feldman Michael Colavita rmvenancio Evan Marell Nate Yaroslav Konoplov Jonathan Chen Aaron Gray Valentin Trinqué Miles Matthias Patrick Ma

Packages Referencing this Repo

digix_devise_token_auth
For use with client side single page apps such as the venerable https://github.com/lynndylanhurle...
Latest release 0.1.44 - Updated - 2.84K stars
devise_token_auth
For use with client side single page apps such as the venerable https://github.com/lynndylanhurle...
Latest release 1.1.3 - Updated - 2.84K stars
cm-devise_token_auth
For use with client side single page apps such as the venerable https://github.com/lynndylanhurle...
Latest release 0.1.30.1 - Published - 2.84K stars
devise_token_auth_skycocker_fork
For use with client side single page apps such as the venerable https://github.com/lynndylanhurle...
Latest release 1.0.0 - Published - 2.84K stars
devise_token_auth_fork_dfabarbosa
For use with client side single page apps such as the venerable https://github.com/lynndylanhurle...
Latest release 1.0.0 - Published - 2.84K stars

Recent Tags See all

v1.1.3 September 26, 2019
v1.1.2 August 24, 2019
v1.1.1 August 18, 2019
v1.1.0 March 18, 2019
v1.0.0 October 23, 2018
v1.0.0rc2 September 21, 2018
v0.2.0 August 10, 2018
v1.0.0rc1 August 10, 2018
v0.1.43 March 07, 2018
v0.1.43.beta1 November 13, 2017
v0.1.42 May 17, 2017
v0.1.41 May 12, 2017
v0.1.40 January 20, 2017
v0.1.39 August 16, 2016
v0.1.38 July 11, 2016

Interesting Forks See all

ybian/devise_token_auth
Token based authentication for Rails JSON APIs. Designed to work with http://github.com/lynndylan...
WTFPL - Last pushed - 3 stars - 21 forks
BunHouth/devise_token_auth
Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
Ruby - WTFPL - Last pushed - 1 stars - 1 forks
katgus/devise_token_auth
Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
This repository is no longer available - 1 stars
DmitriyGysev/devise_token_auth
Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
Ruby - Updated - 1 stars
mhluska/devise_token_auth
Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
Ruby - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-09-26 17:16:06 UTC

Login to resync this repository