Skip to content

Commit

Permalink
adding pkce boolean field
Browse files Browse the repository at this point in the history
  • Loading branch information
uhunnyslack committed Aug 16, 2023
1 parent 2189f72 commit a50ac0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/oauth2/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type OAuth2ProviderIdentitySchema = {
};

export type tokenUrlConfigSchema = {
"uses_basic_authentication_scheme"?: boolean;
"use_basic_authentication_scheme"?: boolean;
};

export type OAuth2ProviderOptions = {
Expand All @@ -29,6 +29,8 @@ export type OAuth2ProviderOptions = {
"identity_config"?: OAuth2ProviderIdentitySchema;
/** Optional extras dict for authorization url for your provider. Required for CUSTOM provider types. */
"authorization_url_extras"?: { [key: string]: string };
/** Optional boolean flag to specify if the provider requires PKCE. Required for CUSTOM provider types. */
"use_pkce"?: boolean;
};

export type OAuth2ProviderDefinitionArgs = {
Expand Down

0 comments on commit a50ac0f

Please sign in to comment.