-
Couldn't load subscription status.
- Fork 367
ADAL Basics
Before using ADAL JS, follow the instructions to register your application on the Azure portal. Also, make sure to enable the OAuth 2.0 implicit flow by setting the property oauth2AllowImplicitFlow to true by editing your application manifest on the portal. Implicit flow is used by ADAL JS to get tokens.
Please refer Installation
You can use ADAL JS as follows in a plain JavaScript application without any frameworks.Include a reference to adal.js in your main application index page before your application scripts.
<script src="App/Scripts/adal.js"></script>
<script src="App/Scripts/app.js"></script>Please refer Configure AuthenticationContext
Please refer Login APIs
Please refer Acquire tokens APIs
Please refer sample for a full implementation example.