Skip to content

Commit

Permalink
docs: add aud to /authorize in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonraimondi committed May 27, 2024
1 parent d53053b commit 542c003
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/access_tokens/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@

## Optional Claims

### **iss** [(rfc)](https://tools.ietf.org/html/rfc7519#section-4.1.1)
### Issuer (**iss** [rfc](https://tools.ietf.org/html/rfc7519#section-4.1.1))

You can customize the `iss` property by setting the `issuer` property in [the AuthorizationServer configuration](/configuration/).

### **aud** [(rfc)](https://tools.ietf.org/html/rfc7519#section-4.1.3)
### Audience (**aud** [rfc](https://tools.ietf.org/html/rfc7519#section-4.1.3))

You can customize the `aud` field by passing the additional query param `&audience=` or `&aud=`, or body param `audience` or `aud` to the `/token` endpoint.
You can customize the `aud` field by passing `aud`.

| Endpoint | Query | Body |
|--------------|---------------------|---------------------|
| `/token` | `aud` \| `audience` | `aud` \| `audience` |
| `/authorize` | `aud` \| `audience` | |

## Implementing `extraTokenFields`

Expand Down

0 comments on commit 542c003

Please sign in to comment.