-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I currently have an application running using the device flow method and I want to change to use cert auth. I followed the steps that you have an it compiles BUT further along in the process when I try to execute this line:
future = app.acquireToken(deviceCodeFlowParameters);
It throws an error: "The method acquireToken(ClientCredentialParameters) in the type ConfidentialClientApplication is not applicable for the arguments (DeviceCodeFlowParameters)".
How do I turn the auth into an access token? Any help would be greatly appreciated!!!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: b114c4ad-080a-81b5-ab2d-688bec12bdf2
- Version Independent ID: b114c4ad-080a-81b5-ab2d-688bec12bdf2
- Content: Client credentials in MSAL Java - Microsoft Authentication Library for Java
- Content Source: msal-java-articles/getting-started/client-credentials.md
- Service: active-directory
- GitHub Login: @localden
- Microsoft Alias: ddelimarsky
### Tasks
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request