Last post Mar 15, 2017 11:47 AM by Eric Grover
Jun 29, 2016 05:03 AM|bhavanisireesha|LINK
We are trying to connect to AAD to get access token/jwt token using Certificate instead of using Client Secret in Asp.Net Core application . But Microsoft.IdentityModel.Clients.ActiveDirectory nuget ( version: 3.10.305231913 ) has only IClientAssertionCertificate
interface . There is no concrete class for this interface.
Do we have any nuget package for this interface implementation?
Jul 22, 2016 05:50 AM|NishantMittal|LINK
Hope this will help you,
Jul 24, 2016 07:47 AM|imran_ku07|LINK
Have you tried Azure Graph Api,
Jul 26, 2016 06:52 PM|gdouts|LINK
I am experiencing the exact same issue.
Under ASPNET 5 RC1, using Microsoft.IdentityModel.Clients.ActiveDirectory 2.28, I was able to get certificate-secured access tokens on behalf of the logged-in user to downstream APIs.
Under ASPNET Core using Microsoft.IdentityModel.Clients.ActiveDirectory 3.x, this functionality appears to be missing entirely. There is a signature for AcquireTokenByAuthorizationCodeAsync that takes in an IClientAssertionCertificate, but as bhavanisireesha
has said, there does not appear to be a way to resolve a concrete version of this interface. Additionally, that signature no longer appears to take in a resource ID, meaning it isn't a granular access control any more?
I would really appreciate any clarification that can be offered here.
Mar 15, 2017 11:47 AM|Eric Grover|LINK
Did you even read his question?