Skip to content

Commit

Permalink
fix: Remove clientSecret from being mandatory on interface
Browse files Browse the repository at this point in the history
  • Loading branch information
red-game-dev committed Dec 7, 2023
1 parent 668fbc7 commit 73f0196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export type onUserInfoRequestContext = {
* @extends OAuthUserConfig<SteamProfile>
*/
export interface SteamProviderOptions
extends Omit<OAuthUserConfig<SteamProfile>, 'clientId'> {
extends Omit<OAuthUserConfig<SteamProfile>, 'clientId' | 'clientSecret'> {
nextAuthUrl?: string
onUserInfoRequest?: (ctx: onUserInfoRequestContext) => Promise<object>
}
Expand Down

0 comments on commit 73f0196

Please sign in to comment.