From 32460d159aa23c4d3560b3b11bae8939f42e8169 Mon Sep 17 00:00:00 2001 From: Jakub Vul Date: Wed, 3 Mar 2021 13:18:40 -0500 Subject: [PATCH 1/2] Update README.md Making testenv file location clearer --- okta-hosted-login/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okta-hosted-login/README.md b/okta-hosted-login/README.md index 3a8f9442..5f3a5087 100644 --- a/okta-hosted-login/README.md +++ b/okta-hosted-login/README.md @@ -34,7 +34,7 @@ Now you need to gather the following information from the Okta Developer Console - **Client Id** - The client ID of the SPA application that you created earlier. This can be found on the "General" tab of an application, or the list of applications. This identifies the application that tokens will be minted for. - **Issuer** - This is the URL of the authorization server that will perform authentication. All Developer Accounts have a "default" authorization server. The issuer is a combination of your Org URL (found in the upper right of the console home page) and `/oauth2/default`. For example, `https://dev-1234.oktapreview.com/oauth2/default`. -These values must exist as environment variables. They can be exported in the shell, or saved in a file named `testenv`, at the root of this repository. (This is the parent directory, relative to this README) See [dotenv](https://www.npmjs.com/package/dotenv) for more details on this file format. +These values must exist as environment variables. They can be exported in the shell, or saved in a file named `testenv`, at the root of this repository, in `/samples-js-react/testenv`. See [dotenv](https://www.npmjs.com/package/dotenv) for more details on this file format. ```ini ISSUER=https://yourOktaDomain.com/oauth2/default From b3da7f0f1b0c80db8efbb15a3ec697d098e0c5e8 Mon Sep 17 00:00:00 2001 From: Jakub Vul Date: Wed, 3 Mar 2021 13:25:00 -0500 Subject: [PATCH 2/2] Update README.md --- okta-hosted-login/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/okta-hosted-login/README.md b/okta-hosted-login/README.md index 5f3a5087..2b236046 100644 --- a/okta-hosted-login/README.md +++ b/okta-hosted-login/README.md @@ -9,7 +9,7 @@ This example is built with [Create React App][]. Before running this sample, you will need the following: * An Okta Developer Account, you can sign up for one at https://developer.okta.com/signup/. -* An Okta Application, configured for Single-Page App (SPA) mode. This is done from the Okta Developer Console, you can see the [OIDC SPA Setup Instructions][]. When following the wizard, use the default properties. They are are designed to work with our sample applications. +* An Okta Application, configured for Single-Page App (SPA) mode. This is done from the Okta Developer Console, you can see the [OIDC SPA Setup Instructions][]. When following the wizard, use the default properties. They are are designed to work with our sample applications. For testing purposes, set the "Login Redirect URI" as `http://localhost:8080/login/callback`. ## Running This Example