Amanp16 / mfa-microservices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authentication Microservice using Okta

This microservice provides authentication services to applications using Okta as its provider.
Along with basic authentication, it supports:

  • Multi-factor authentication using OTPs.
  • Single sign-on

You can find the API documentation here.
To view an example SSO server, developed using this microservice: Check this repo!

Installation

Run npm install and create a .env file of the format:

OKTA_CLIENT_ID=<your okta client id>
OKTA_CLIENT_SECRET=<your okta client secret>
OKTA_TOKEN=<your okta client token>
OKTA_URI=<your okta url>
PORT=<preferred port>

and then run node app.js to run the microservice.

Tech Stack

  • Node JS
  • Express JS
  • OKTA SDK

About


Languages

Language:JavaScript 100.0%