Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling ConfClientApp::AcquireTokenForClientAsync with a certificate on .NET 4.7 throws an exception #448

Closed
mjcheetham opened this issue Jul 31, 2017 · 0 comments
Assignees
Milestone

Comments

@mjcheetham
Copy link
Contributor

When calling AcquireTokenForClientAsync with an IClientAssertionCertificate from an application on .NET Framework 4.7 an exception is thrown with inner exception "Object reference not set to an instance of an object."
On 4.6.2 works correctly and no exception is thrown.

This is the same issue encountered on ADAL.NET (as it's the same code). The default RSA provider which is returned from X509AsymmetricSecurityKey::GetAsymmetricAlgorithm in .NET Framework 4.7 has changed.

Please see this bug:
AzureAD/azure-activedirectory-library-for-dotnet#708.

And this PR:
AzureAD/azure-activedirectory-library-for-dotnet#732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants