Skip to content

Adrinalin4ik/jwt_handler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JwtHandler

Simple Token handler for back-end ruby micro-services.

Usage

Include jwt_handler in your application_controller.rb and put links for authorization server and default referer and also name of domain (if needed) into your environment variables(application.yml):

include 'JWThandler'
development:
	jwt_referer_link: "http://training.api.oblako.com:3002/api/v1/room/1"
	jwt_auth_service_path: "http://auth.oblako.com:3001"
	jwt_domain_name: ".oblako.com"

Installation

Add this line to your application's Gemfile:

gem 'jwt_handler'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jwt_handler

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 79.6%
  • HTML 15.3%
  • JavaScript 3.1%
  • CSS 2.0%