Skip to content

Commit 149d317

Browse files
committed
tweak header text
1 parent 28d7efc commit 149d317

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fern/products/docs/pages/api-references/autopopulate-api-key.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ API key injection can work in two different ways depending on your company's aut
2020
* **JWT Flow:** You handle the entire auth flow and just give Fern a JWT cookie
2121
* **OAuth Flow:** You give Fern access, and Fern directly initiates the OAuth handshake process
2222

23-
<AccordionGroup>
23+
<AccordionGroup toc={true}>
2424
<Accordion title="JWT" toc={true}>
2525

26-
### How it works
26+
### How the JWT flow works
2727

2828
To enable this feature, you need to configure authentication so that Fern can securely retrieve API keys for your users. The process works as follows:
2929

@@ -87,7 +87,7 @@ The JWT should have a structure similar to:
8787

8888
</CodeBlocks>
8989

90-
## Setting up auto-populated API keys
90+
#### Setting up auto-populated API keys
9191

9292
- [ ] Reach out to Fern to get your secret key
9393
- [ ] Send Fern the URL of your authentication page. This is where users will be redirected to after clicking the "Login" button in the API Explorer.
@@ -98,7 +98,7 @@ The JWT should have a structure similar to:
9898
</Accordion>
9999
<Accordion title="OAuth" toc={true}>
100100

101-
### How it works
101+
### How the OAuth flow works
102102

103103
To enable this feature, you need to configure OAuth authentication so that Fern can securely retrieve API keys for your users through your OAuth provider. Here's how the process works:
104104

@@ -107,7 +107,7 @@ To enable this feature, you need to configure OAuth authentication so that Fern
107107
1. After successful authentication, your OAuth provider redirects back to Fern with an authorization code, which Fern exchanges for an access token at your token endpoint.
108108
1. Fern uses this token to retrieve the user's API key and automatically populates it in the API Explorer.
109109

110-
### Setting up auto-populated API keys
110+
#### Setting up auto-populated API keys
111111

112112
To enable API key injection, you'll need to:
113113
- [ ] Set up an authenticated account for Fern so Fern can authorize users on your behalf. Provide Fern with

0 commit comments

Comments
 (0)