Skip to content

Commit cd0336d

Browse files
committed
docs: Add claims parameter to config docs
1 parent 187b1f1 commit cd0336d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/usage/config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ See specific example [configurations for your provider](/docs/category/providers
3333
- **clientSecret** - (`string`) client secret to pass to token exchange requests. :warning: Read more about [client secrets](/docs/client-secrets)
3434
- **redirectUrl** - (`string`) _REQUIRED_ the url that links back to your app with the auth code. Depending on your [provider](/docs/category/providers), you may find that you need to add a trailing slash to your redirect URL.
3535
- **scopes** - (`array<string>`) the scopes for your token, e.g. `['email', 'offline_access']`.
36+
- **claims** - (`object`) the requested claims for your token, e.g. ` { "id_token": { "given_name": null } }`.
3637
- **additionalParameters** - (`object`) additional parameters that will be passed in the authorization request.
3738
Must be string values! E.g. setting `additionalParameters: { hello: 'world', foo: 'bar' }` would add
3839
`hello=world&foo=bar` to the authorization request.

0 commit comments

Comments
 (0)