Daemon is good for confidential clients that run on the serve side without user interaction commonly when using Client Credentials Flow. See Public client and confidential client applications for more info and when to use which client.
Daemon in MS Graph
APIPointNewbie
146
Reputation points
Hello Community,
I have seen more than once that (in for ConfidentialClientApplicationBuilder) WithRedirectUri
has a "https://daemon"
in it. But what is "https://daemon"
good for ?
I would be very happy about an answer.
Microsoft Security | Microsoft Entra | Microsoft Entra ID
25,080 questions
Accepted answer
-
Danstan Onyango 3,906 Reputation points Microsoft Employee
2021-12-06T09:03:56.21+00:00
1 additional answer
Sort by: Most helpful
-
Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
2021-12-06T13:11:40.417+00:00 Hi @APIPointNewbie ,
Confidential Client Application are applications that uses client id and secret to call Azure AD to get the access tokens and run on servers(webapps, webAPI apps, daemon apps).
Redirect URI is optional for confidential client applications
- It need to specify redirect URI in case of webApp calling WebAPI, then Azure AD will use the URI to send back the token to webApp.
- For daemon apps, redirect URI is not required.
Thanks,
Shweta