https://github.com/zapthedingbat/okta-example
Example stateless integration with OKTA
https://github.com/zapthedingbat/okta-example
Last synced: about 2 months ago
JSON representation
Example stateless integration with OKTA
- Host: GitHub
- URL: https://github.com/zapthedingbat/okta-example
- Owner: zapthedingbat
- Created: 2019-05-16T13:53:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:31:27.000Z (over 2 years ago)
- Last Synced: 2026-04-24T08:43:01.054Z (2 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OKTA Example
===
This repository demonstrates a stateless web application authenticating a user with OKTA.
It follows the *Authorization Code Flow* as described in [the OKTA documentation](https://developer.okta.com/authentication-guide/implementing-authentication/auth-code/).
## Running locally
You will need to configure an application in OKTA and record the client id and secret.
Set the environment variables
`OKTA_CLIENT_ID` and
`OKTA_CLIENT_SECRET`
with the the respective values from OKTA.
- Ensure your `.env` file in the root of the project has these values defined.
- Run `npm start`.
- The application will start listening on port 3000.
- Navigate to [localhost:3000](http://localhost:3000/) in your browser.