Authenticating Your API Using "Knock Gem" in Railsby@abubakar-diallo
1,079 reads
1,079 reads

Authenticating Your API Using "Knock Gem" in Rails

by Abubakar Diallo4mAugust 28th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Authenticating Your API Using "Knock Gem" in Rails
Abubakar Diallo HackerNoon profile picture
Abubakar Diallo

Abubakar Diallo

@abubakar-diallo

Ruby on Rails || React Developer

Learn More
LEARN MORE ABOUT @ABUBAKAR-DIALLO'S
EXPERTISE AND PLACE ON THE INTERNET.

Share Your Thoughts

About Author

Abubakar Diallo HackerNoon profile picture
Abubakar Diallo@abubakar-diallo
Ruby on Rails || React Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
L O A D I N G
. . . comments & more!