Skip to content

Commit 5a2480b

Browse files
committed
add a little security detail
1 parent ca56f6e commit 5a2480b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/guides/development/machine-auth/api-keys.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ If you would like to prevent the API Keys tab from appearing in the user or orga
4343

4444
It's also possible to render the [`<APIKeys />` component](/docs/reference/components/api-keys) directly if you'd like to embed the API key management UI directly into your application's user interface.
4545

46+
> [!TIP]
47+
> Hiding the UI doesn't prevent users from creating API keys — they can still call Clerk's Frontend API directly. If you want to ensure only backend-issued API keys are valid, use the `scopes` or `claims` parameters (available only via the [Backend SDK](#creating-api-keys)) when creating keys. Your verification logic can then reject any keys missing the required scopes or claims, making user-created keys ineffective.
48+
4649
## Using API keys in requests
4750

4851
Once you have an API key, you can use it to authenticate requests to your application's API. The API key should be sent as a Bearer token in the `Authorization` header:

0 commit comments

Comments
 (0)