microsoftgraph/msgraph-sdk-java-auth

How to support Client Credential mode with certificate ?

kokmike opened this issue · 2 comments

Hello,

The current clientCredentialProvider need a clientSecret to builder the oauth2 request.
But it exists another way to use certificate instead of clientSecret which is recommended by Microsoft.
Is there some possible solution for certificate ?

Thanks.
AB#7117

We'll add support for this when we add the MSAL Java dependency.

Hi @kokmike
Thanks for reaching out and for the patience. With the release of the v3 of the java SDK, it now integrates with Azure Identity which supports a wide variety of authentication flows out of the box.
We strongly encourage you to migrate to this v3 + azure identity, and you can read more about it in this issue.
microsoftgraph/msgraph-sdk-java#628

This issue won't be fixed, but I'll leave it open for visibility, and the repository will be archived soon.