Joffreyvl
Joffreyvl
Does this work for azure functions, I can't get it to work?
@soundaranbu I create a [sample project](https://github.com/Joffreyvl/RazorTemplating.Function), but both the in-process and the isolated function don't work for me. When I run the in-process function I get a DI issue and...
@soundaranbu do you need a razor class library when you are doing runtime compilation? I am trying to read cshtml files from a blob storage account.
@soundaranbu thanks for the information! I got it to work, I can now dynamically render string templates! For others wanting to solve this problem, you can find a code sample...
Is there a sample for the new WithGenericAuthority method? I'm trying to use MSAL to get a token from salesforce, but there doesn't seem to be any documentation.
@bgavrilMS thanks for the response, this is the code I have now. ```c# var confidentialClientApplication = ConfidentialClientApplicationBuilder .Create(clientId) .WithExperimentalFeatures(true) .WithClientSecret(clientSecret) .WithGenericAuthority(baseUrl) .Build(); ``` ```c# var authResult = await confidentialClientApplication .AcquireTokenForClient(new[]...
@bgavrilMS I found the solution, the Salesforce api doesn't allow me to send scopes. MSAL requires you to provide at least one scope. To solve this, I added whitespace as...
> Well MSAL was originally designed to be the SDK for Azure AD, and with Azure AD client_credentials always takes a scope, so that's why the argument is mandatory. Many...