Skip to content

Commit

Permalink
fix: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed May 23, 2024
1 parent 8b847b4 commit f60ed38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class OIDCClient {
private constructor(
private readonly clientId: string,
private readonly clientSecret: string,
private readonly args: OIDCArgs,
private readonly args: OIDCArgs | undefined,
private readonly config: OIDCConfiguration,
private readonly url: URLHelper
) {}
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/server/src/plugins/oauth/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface OAuthProviderConfig {
clientId: string;
clientSecret: string;
args: Record<string, string>;
args?: Record<string, string>;
}

export type OIDCArgs = {
Expand All @@ -15,7 +15,7 @@ export type OIDCArgs = {

export interface OAuthOIDCProviderConfig extends OAuthProviderConfig {
issuer: string;
args: OIDCArgs;
args?: OIDCArgs;
}

export enum OAuthProviderName {
Expand Down

0 comments on commit f60ed38

Please sign in to comment.