Add Authentication and Personalization to VuePress

This example VuePress application is for the blog post Add Authentication and Personalization to VuePress.

Setup

To use this example project, you need the following:

Download and Configure the Project

  1. Download or clone the project.
  2. Run npm install at the command line from within the project folder to install dependencies.
  3. Create a new Single-Page Application in your Okta account.
  4. Copy the docs/.vuepress/oktaConfig.js.sample file to docs/.vuepress/oktaConfig.js
  5. Copy the Client ID from your Okta application and the Org URL from your Okta account and update the values in the oktaConfig.js file.

Launch the application using the following at the command line:

npm run dev

Browse to https://localhost:8080.