AzureAD / azure-activedirectory-library-for-js

The code for ADAL.js and ADAL Angular has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/adal-angular
Apache License 2.0
626 stars 373 forks source link

Login with client secret #905

Closed lingfeidiewu closed 4 years ago

lingfeidiewu commented 4 years ago

Is there any way to login by the client secret string with ADAL.js?

jasonnutter commented 4 years ago

@lingfeidiewu No, there is not. ADAL.js implements the Implicit Flow, which is for public client applications. Public client applications are for scenarios where the client application cannot keep a secret (e.g. web browsers), such as a secret key.

ADAL Node will support authentication via secret key: https://github.com/AzureAD/azure-activedirectory-library-for-nodejs