Skip to content

Commit

Permalink
Added comment about when/why to include ClientSecret in Options.
Browse files Browse the repository at this point in the history
SuperOfficeDevNet authored Mar 10, 2022
1 parent 42eae7e commit 3be35bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/SuperOffice.DevNet.WebApiClient.Oidc/Program.cs
Original file line number Diff line number Diff line change
@@ -53,8 +53,8 @@ private static async Task Login()
{
Authority = _authority,
ClientId = _clientId,
ClientSecret = _clientSecret,
RedirectUri = redirectUri,
ClientSecret = _clientSecret, // Client secret is not used to obtain an Access/Refresh/ID tokens
RedirectUri = redirectUri, //- the client secret is only required when using the refreshToken to get a new access token.
Scope = "openid",
FilterClaims = false,
LoadProfile = false,

0 comments on commit 3be35bc

Please sign in to comment.