This is an example backend app that authenticates users using OAuth 2.0 standard flow
- 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
-
Update below required values and add them to a
.env
file and save it in project directorySSO_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:
Installs dependencies from package.json
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.