Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/auth/backchannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ type AuthorizeRequest = Omit<AuthorizeOptions, 'userId'> &
login_hint: string;
};

export interface AuthorizationDetails {
readonly type: string;
readonly [parameter: string]: unknown;
}

/**
* The response from the token endpoint.
*/
Expand Down Expand Up @@ -142,7 +147,7 @@ export type TokenResponse = {
* Optional authorization details when using Rich Authorization Requests (RAR).
* @see https://auth0.com/docs/get-started/apis/configure-rich-authorization-requests
*/
authorization_details?: string;
authorization_details?: AuthorizationDetails[];
};

/**
Expand Down