Skip to content

Commit e7bebe6

Browse files
committed
update old devhub links
1 parent 9f1d6b0 commit e7bebe6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Scroll down to view [the flow in more detail](#the-flow-in-detail).
2020

2121
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.
2222

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.
2424
2525
### Quick start
2626

@@ -55,7 +55,7 @@ You will be prompted to set up two backends:
5555
* `origin`: Your application or content server.
5656

5757
#### 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:
5959
* `openid_configuration`: The OpenID Configuration (OIDC) metadata from your authorization server, JSON-serialized;
6060
* `jwks`: JWKS metadata from your authorization server (obtained from the `jwks_uri` property of the OIDC metadata), JSON-serialized.
6161

@@ -74,7 +74,7 @@ Create an `.env` file ([example contents here](./.env.example)) and set the foll
7474
7575
##### Option B: Using a Fastly Secret Store (beta)
7676

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.
7878

7979
You must set the `USE_SECRET_STORE` constant to `true` in [src/config.js](./src/config.js)
8080

@@ -88,9 +88,9 @@ You must set the `USE_SECRET_STORE` constant to `true` in [src/config.js](./src/
8888

8989
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:
9090

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).
9494
* The hostname of the IdP's *authorization server* ➡️ Create as a backend called `idp` on your Fastly service
9595

9696
### 2. Deploy the Fastly service and get a domain

src/lib/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { env } from 'fastly:env'
66
const CONFIG_STORE_NAME = `compute_js_auth_config`
77

88
// Load secrets from a Secret Store (requires opt-in to the Fastly Secret Store beta).
9-
// See: https://developer.fastly.com/learning/concepts/edge-state/dynamic-config/#secret-stores
9+
// See: https://www.fastly.com/documentation/guides/concepts/edge-state/dynamic-config/#secret-stores
1010
const USE_SECRET_STORE = false
1111
const SECRET_STORE_NAME = `compute_js_auth_secrets`
1212

0 commit comments

Comments
 (0)