What's next?
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
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
- Dominant language
- No language data
- Stars
- 5
- Forks
- 21
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.