/Multi-Tenant-Authentication-using-adal-js

Minimal Sample for Multi Resource,Multi Tenant Authentication using ADAL.JS and MSAL.JS

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Multi Tenant Multi Resource Authentication using ADAL.JS and MSAL.JS

Minimal Sample for Multi Resource,Multi Tenant Authentication using ADAL.JS and MSAL.JS

I am inspired from psignoret and MSAL JS Azure Sample reference of minimal sample for authentication using adal.js.

I have extended above sample to test with multi tenant authentication and generate multi resource token and Make request using generated token.

In this demo I have used Microsoft Graph and SharePoint Online Token

Working Demo Using adal.js for Multi Resource Multi Authentication is live at https://anomepani.github.io

Working Demo Using msal.js for Multi Resource Multi Authentication is live at https://anomepani.github.io

Known Issue

Some times when we request Multi Resource token simultaneously first token is received and for second token failed internally by adal.js even if token received.