Skip to content

kiiskila-bcgov/km-sso-client

 
 

Repository files navigation

SSO Pathfinder Confidential Client Using Node-Express

Description

This is an example backend app that authenticates users using OAuth 2.0 standard flow

Getting Started

Pre-requisites

  • You require an integration with client type confidential before you can start using this example app
  • Navigate to SSO Onboarding to know more about creating an integration

Installing

  • Update below required values and add them to a .env file and save it in project directory

    SSO_SESSION_SECRET=s3cr3t
    SSO_AUTH_SERVER_URL=https://dev.loginproxy.gov.bc.ca/auth
    SSO_REALM=
    SSO_CLIENT_ID=
    SSO_CLIENT_SECRET=
    SSO_LOGOUT_REDIRECT_URI=http://localhost:3000

In the project directory, you can run either yarn or npm commands:

npm install

Installs dependencies from package.json

npm run start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%