Skip to content

Commit

Permalink
we should specify URL, otherwise it will throw NRE
Browse files Browse the repository at this point in the history
  • Loading branch information
dohly committed May 21, 2024
1 parent 918dc8f commit 0d01f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/PnP.Framework/AuthenticationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ public async Task<string> GetAccessTokenAsync(string[] scopes, CancellationToken
{
throw new ArgumentException($"{nameof(GetAccessTokenAsync)}() called without an ACS token generator. Specify in {nameof(AuthenticationManager)} constructor the authentication parameters");
}
return acsTokenGenerator.GetToken(null);
return acsTokenGenerator.GetToken(uri);
}
case ClientContextType.AccessToken:
{
Expand Down

0 comments on commit 0d01f68

Please sign in to comment.