Authenticating Your API Using "Knock Gem" in Rails

Written by abubakar-diallo | Published 2020/08/28
Tech Story Tags: ruby-on-rails | rails | rails-api | knock-gem | ruby | software-development | rails-only-api | backend

TLDR This tutorial would be based on the latest version (6.0) of Ruby on Ruby on Rails. We would need to, first of all, generate a new rails app as we embark on the journey. In order to gain access to the API, we need to uncomment or remove Cors gems as that serves as permission. We must engage the Bcrypt since there’s the ultimate need of us changing the former field into these latter ones. The Bcrypt is a hash algorithm for password hashing and Knock Gem is known to be mainly for JWT authentication.via the TL;DR App

no story

Written by abubakar-diallo | Ruby on Rails || React Developer
Published by HackerNoon on 2020/08/28