Skip to content

Commit

Permalink
修掉警告
Browse files Browse the repository at this point in the history
  • Loading branch information
YuChia-Wei committed Nov 2, 2023
1 parent bab7941 commit e6cb1f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dotnet.WebApi/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@
$"dotNet web Api {description.GroupName}");
}

options.OAuthClientId(authOptions.ClientId);
options.OAuthClientSecret(authOptions.ClientSecret);
options.OAuthClientId(authOptions?.ClientId);
options.OAuthClientSecret(authOptions?.ClientSecret);
options.OAuthScopeSeparator(" ");
options.OAuthUsePkce();
});
Expand Down

0 comments on commit e6cb1f2

Please sign in to comment.