GithubHelp home page GithubHelp logo

wesley6j / devise_token_auth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lynndylanhurley/devise_token_auth

0.0 1.0 0.0 8.47 MB

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

License: Do What The F*ck You Want To Public License

Ruby 96.63% HTML 3.03% JavaScript 0.16% CSS 0.18%

devise_token_auth's Introduction

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

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.

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.

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

devise_token_auth's People

Contributors

aarongray avatar abeyuya avatar booleanbetrayal avatar colavitam avatar dijonkitchen avatar djsegal avatar dks17 avatar edgarhenriquez avatar ethagnawl avatar evan-m avatar fivetwentysix avatar genaromadrid avatar guilhermesimoes avatar jakubrohleder avatar joeesteves avatar kaevee avatar krzysiek1507 avatar lynndylanhurley avatar maicolben avatar milesmatthias avatar nbrustein avatar nicolas-besnard avatar olleolleolle avatar sgwilym avatar silviusimeria avatar travistam avatar valentintrinque avatar vbrazo avatar vincenzodev avatar zachfeldman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.