'Microsoft Authentication Client credentials flow using client secret MSAL

I have the following scenario, I have a backend developed in node with express and protected with passaport-azure ad, and I have an application that must consume the endpoints of the backend, I want the application to be developed in angular with msal 2 without authentication with users, is it Is it possible using this library to connect without the need for credentials? I know I can use client_credentials but the library does not accept client_secret among its initialization parameters.

sorry for my english



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source