Skip to content

voscarmv/rails7_devise_jwt

Repository files navigation

JWT authentication using Rails 7 with Devise

This is an improved version of https://github.com/voscarmv/rails_jwt

Based on https://github.com/DakotaLMartinez/rails-devise-jwt-tutorial

Rails 7 fix: DakotaLMartinez/rails-devise-jwt-tutorial#1

Changed fast_jsonapi to https://github.com/jsonapi-serializer/jsonapi-serializer

Installation

Remember to...

$ cd rails_jwt
$ bundler
$ echo "secret_key_base: `rails secret`"    # ...copy the output of this
$ EDITOR=nano rails credentials:edit  # and paste it here.

Then just

$ rails s

Testing

Test this with https://github.com/voscarmv/JWT_tester

About

JWT authentication using Rails 7 and Devise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages