You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Scroll down to view [the flow in more detail](#the-flow-in-detail).
20
20
21
21
After you have checked out the code from this repository, you'll need to do some configuration before you can deploy it, so that Fastly knows which identity provider to use and how to authenticate.
22
22
23
-
> Make sure you have installend and configured the [Fastly CLI](https://developer.fastly.com/learning/tools/cli) first.
23
+
> Make sure you have installend and configured the [Fastly CLI](https://www.fastly.com/documentation/reference/tools/cli) first.
24
24
25
25
### Quick start
26
26
@@ -55,7 +55,7 @@ You will be prompted to set up two backends:
55
55
*`origin`: Your application or content server.
56
56
57
57
#### Configuration data
58
-
Configuration data lives in Fastly [Config Store](https://developer.fastly.com/learning/concepts/edge-state/dynamic-config/#config-stores) named `compute_js_auth_config`, with the following keys:
58
+
Configuration data lives in Fastly [Config Store](https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config/#config-stores) named `compute_js_auth_config`, with the following keys:
59
59
*`openid_configuration`: The OpenID Configuration (OIDC) metadata from your authorization server, JSON-serialized;
60
60
*`jwks`: JWKS metadata from your authorization server (obtained from the `jwks_uri` property of the OIDC metadata), JSON-serialized.
61
61
@@ -74,7 +74,7 @@ Create an `.env` file ([example contents here](./.env.example)) and set the foll
74
74
75
75
##### Option B: Using a Fastly Secret Store (beta)
76
76
77
-
Store configuration secrets in a Fastly [Secret Store](https://developer.fastly.com/learning/concepts/edge-state/dynamic-config/#secret-stores) named `compute_js_auth_secrets`, with the keys `client_id`, `client_secret`, and `nonce_secret` respectively.
77
+
Store configuration secrets in a Fastly [Secret Store](https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config/#secret-stores) named `compute_js_auth_secrets`, with the keys `client_id`, `client_secret`, and `nonce_secret` respectively.
78
78
79
79
You must set the `USE_SECRET_STORE` constant to `true` in [src/config.js](./src/config.js)
80
80
@@ -88,9 +88,9 @@ You must set the `USE_SECRET_STORE` constant to `true` in [src/config.js](./src/
88
88
89
89
You might operate your own identity service, but any [OAuth 2.0, OpenID Connect (OIDC) conformant identity provider](https://en.wikipedia.org/wiki/List_of_OAuth_providers) will work. You will need the following from your IdP:
90
90
91
-
* A *Client ID*, and optionally, a *Client secret* ➡️ Set the `CLIENT_ID` and `CLIENT_SECRET` environment variables, or set the `client_id` and `client_secret` keys in the [Secret Store](https://developer.fastly.com/learning/concepts/edge-state/dynamic-config/#secret-stores).
92
-
* An *OpenID Connect Discovery document* ➡️ Set the `openid_configuration` key (JSON-serialized string value) in the [Config Store](https://developer.fastly.com/learning/concepts/edge-state/dynamic-config/#config-stores).
93
-
* A *JSON Web key set* ➡️ Set the `jwks` key (JSON-serialized string value) in the [Config Store](https://developer.fastly.com/learning/concepts/edge-state/dynamic-config/#config-stores).
91
+
* A *Client ID*, and optionally, a *Client secret* ➡️ Set the `CLIENT_ID` and `CLIENT_SECRET` environment variables, or set the `client_id` and `client_secret` keys in the [Secret Store](https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config/#secret-stores).
92
+
* An *OpenID Connect Discovery document* ➡️ Set the `openid_configuration` key (JSON-serialized string value) in the [Config Store](https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config/#config-stores).
93
+
* A *JSON Web key set* ➡️ Set the `jwks` key (JSON-serialized string value) in the [Config Store](https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config/#config-stores).
94
94
* The hostname of the IdP's *authorization server* ➡️ Create as a backend called `idp` on your Fastly service
0 commit comments