Skip to content

Commit

Permalink
Add optional organization to client credentials grant
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Nov 7, 2023
1 parent 1f21236 commit 1e88154
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/auth/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ export interface ClientCredentialsGrantRequest extends ClientCredentials {
* The unique identifier of the target API you want to access.
*/
audience: string;

/**
* An Organization Name or ID. When included, the access token returned will include the org_id and org_name claims
*/
organization?: string;
}

export interface PasswordGrantRequest extends ClientCredentials {
Expand Down

0 comments on commit 1e88154

Please sign in to comment.