So, I had this requirement at work where I had to automate the creation of MongoDB cluster with Terraform. I had to spend a lot of time figuring out how to get it up and running because of lack of detailed documentation. We can’t really blame Mongo for it since their terraform provider is still new in town and evolving. As you would have guessed already, I felt like writing this blog right away, so that folks like me out there should not be struggling to get this simple task done. …

We all know how painful it can be to set up a complete authentication flow all by ourselves even if it’s with our awesome Rails 5.

It’s not just the difficulty, it’s the things we need to cover and be careful about while setting up authentication flow ourselves since it’s going to be ‘The Wall’ (Sorry about the GOT reference :P) protecting our apps.

So, this article is a tutorial on setting up complete authentication flow from scratch with JWT tokens in minutes using devise and devise JWT gems with a Rails 5 API application.


Basic understanding of Ruby on…

Nandhagopal Ezhilmaran

Senior Consultant - Developer | DevOps Enthusiast | Automobile Enthusiast

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store