Skip to content

Oleksandr-kopaevich/nest-server-for-okta-integration-with-firebase

Repository files navigation

Nest Logo

Live demo

https://explore-firebase-37b42.web.app/ - Uses Firebase hosting for frontend part (React application) and Firebase functions for backend part (Nestjs application)

Installation

  1. Create .env file and add next value:
    OKTA_ORG_URL - You can copy your domain from the Okta Admin Console. (without 'https://')
  2. Download credentials file from firebase project settings, rename it to firebase.config.json and put in src folder
  3. Install all npm packages
$ npm install

and make sure thay your Firebase CLI is up to date

$ npm install -g firebase-tools
  1. Run Firebase functions emulator locally
$ npm run serve

or deploy to clouds via

$ npm run deploy

Enpoints map

/firebaseCustomToken - [GET] - is used for token exchange (must be authorization token in headres)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published