Skip to content

Commit

Permalink
improve OIDCConfig type to prevent TS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Jan 27, 2025
1 parent 6c72874 commit 03d5384
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ interface Idp {
OrganizationName: string;
RandS: boolean;
}
type OIDCConfig = Record<string, { icon?: string }>;
type OIDCConfig = Record<
string,
{
icon?: string;
label?: string;
custom_button_text?: string;
}
>;
interface Props {
loginPage?: boolean;
Expand Down

0 comments on commit 03d5384

Please sign in to comment.