зеркало из
1
0
Форкнуть 0
fable-sdk-samples/frontend
Eugene Tolmachev ce1e9edbf2 better redirects handling 2020-10-09 15:53:45 -04:00
..
assets initial 2020-10-08 17:16:27 -04:00
scss initial 2020-10-08 17:16:27 -04:00
src better redirects handling 2020-10-09 15:53:45 -04:00
README.md initial 2020-10-08 17:16:27 -04:00
index.html initial 2020-10-08 17:16:27 -04:00
options.json initial 2020-10-08 17:16:27 -04:00
package.json initial 2020-10-08 17:16:27 -04:00
webpack.config.js initial 2020-10-08 17:16:27 -04:00

README.md

Fable/React Single Page Application

The simple application demonstrates authenticating against Azure AD with msal.js and making a request with the Azure Graph SDK.

Preparing the sample

  • Register an Azure AD application.
  • In authentication options add SPA client and specify http://localhost:8090 as a redirect URI.
  • modify options.json with your Azure subscription, tenant and your application IDs.

Calling other APIs

  • Update the SDK generation project and generate corresponding bindings
  • Update options.json with the corresponding API scope
  • Provide the MsRest.ServiceClientCredentials interface implementation into the client