Skip to content

Commit

Permalink
Merge branch 'hotfix/GetAccessTokenNRE' of https://github.com/dohly/p…
Browse files Browse the repository at this point in the history
…npframework into pr1022
  • Loading branch information
jansenbe committed May 23, 2024
2 parents 6a07921 + 0d01f68 commit 11ad0db
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 11ad0db

Please sign in to comment.