In this blog, I’m going to share some information about API (Application Programming Interface) Authentication. We used token-based authentication to authenticate users with API at the time. This blog’s demo is available on Github.

Two different programs communicate with an API ( Application Programming Interface). This works in the same way as the request-response style. The most popular formats for API responses are JSON or XML.

Authentication can be accomplished in one of two ways. These are below:

  1. Session-Based Authentication
  2. Token-Based Authentication

When a user logs in, session data is stored in memory and a session ID is sent to…

Tejal Panjwani

Software Engineer

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