Sign in

Software Engineer

JWT is an open standard for transferring data securely between two parties. It is used with authentication systems to make authenticated requests. It comprises header, payload, and signature. JWT is a stateless authentication mechanism i.e it maintains sessions in the client-side itself instead of storing it in the server.

The workflow of JWT is so simple. JWT is created with a secret key where the secret key will be kept with your application privately. When your application receives a JWT key from any client, your application verifies the key with the private key. Modification of the public key from the…


In this blog, I will demonstrate how to implement Twitter OAuth with Node and Passport JS. To implement this, we will be using a third-party library called Passport JS. Passport JS is authentication middleware for Node and Express JS. Passport JS can be used with any Express JS applications. Passport JS provides 500 + strategies.

Table of Content

  1. Initialize a Node Project
  2. Creating Twitter OAuth Client Id
  3. Configure Twitter OAuth with Node
  4. Protecting Routes and Adding Logout view
  1. Initialize a Node Project

First, let’s create a new Node js Project. …


In this blog, I will demonstrate how to implement Slack OAuth with Node and Passport JS. To implement this, we will be using a third-party library called Passport JS. Passport JS is authentication middleware for Node and Express JS. Passport JS can be used with any Express JS applications. Passport JS provides 500 + strategies.

Table of Content

  1. Initialize a node JS project
  2. Creating Slack OAuth Client ID
  3. Configure Slack OAuth
  4. Protecting Routes and Adding Logout
  1. Initialize a node JS project

First, let’s create a new Node js Project. …


In this blog, I will demonstrate how to implement Amazon OAuth with Node and Passport JS. To implement this, we will be using a third-party library called Passport JS. Passport JS is authentication middleware for Node and Express JS. Passport JS can be used with any Express JS applications. Passport JS provides 500 + strategies.

Table of Content

  1. Initialize a node JS project
  2. Creating amazon OAuth Client ID
  3. Configure Amazon OAuth
  4. Protecting Routes and Adding Logout
  1. Initialize a node JS project

First, let’s create a new Node js Project. …


In this blog, I will demonstrate how to implement Spotify OAuth with Node and Passport JS. To implement this, we will be using a third-party library called Passport JS. Passport JS is authentication middleware for Node and Express JS. Passport JS can be used with any Express JS applications. Passport JS provides 500 + strategies.

Table of contents:

  1. Initializing a Node JS Project
  2. Creating a Spotify OAuth Client ID
  3. Configure Spotify OAuth
  4. Protecting Route and Adding Logout

1.) Initializing a Node JS Project

First, let’s create a new Node js Project. The below commands create a new folder and then initialize the node to our project.


Simple website deployment with GitHub Pages

What is Github Pages?

Github Pages is a free web hosting service provided by Github for static websites. The free domain that comes with GitHub pages is github.io. We can also add a custom domain to Github Pages.

Github pages provide three types of services.

a. Github Pages for Projects

b. Github Pages for Users

c. Github Pages for Organizations

If you have your website uploaded in the GitHub repository, you can publish your website with a single click which is the cool thing about Github Pages. This blog explains how to upload your website to GitHub and publish it.

Table of Contents

  1. Initial Setup
  2. Upload To…


What is Version Control?

Version Control is a system that is used for managing changes in a computer program. VCS helps you to revert to the previous version. It also helps to identify who has written the particular line in code. Commonly used version control systems are git, Subversion, CVS(Concurrent Version System), Bazaar, Mercurial.

What is git?

Git is the most commonly used version control system nowadays. Git is an open-source system that helps us to keep track of the changes that we have made to the code. It helps us to integrate the works done by many people together.

There are some cloud-based source code management…


What is Firebase?

Firebase is Google’s Mobile and Web application development platform that helps you to develop, improve, and grow your application. Firebase is a BaaS provider(Backend As a Service). Some of the features that Firebase provides are Firebase Real-Time Database, Firebase Storage, Firebase Authentication, Firebase Cloud Messaging, Firebase Hosting, and so on.


As a developer, It’s very often we would have used Github accounts to login to a web application. The process would have been so simple. This blog will explain to you how to implement Github authentication with Node and Express JS. To implement this, we will be using a third-party library called Passport JS. Passport JS is authentication middleware for Node and Express JS. Passport JS can be used with any Express JS applications. Passport JS provides 500 + strategies.

Table of Content

  1. Initializing a Node JS Project
  2. Creating an OAuth Client ID
  3. Configuring Github OAuth
  4. Protecting Route and adding…


As a user, It’s very often we would have used Facebook accounts to login to a web application. The process would have been so simple. This blog will explain to you how to implement Facebook authentication with Node and Express JS. To implement this, we will be using a third-party library called Passport JS. Passport JS is authentication middleware for Node and Express JS. Passport JS can be used with any Express JS applications. Passport JS provides 500 + strategies.

Table of Content

  1. Initializing a Node JS Project
  2. Creating OAuth client ID
  3. Configuring Facebook OAuth
  4. Protecting Route and adding a…

Sjlouji

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