Questions tagged [adal]

The Azure Active Directory Authentication Libraries (ADAL) gives you the ability to add support for Microsoft's cloud identity APIs to your application, including support for Office365 and Work Accounts. Supports native clients such as Windows, Windows Phone, iOS, OSX, Android, and Linux and server clients such as Windows Server, Node.js and Java.

Microsoft Azure Identity Libraries powered by Azure Active Directory

The Azure Active Directory Authentication Libraries (ADAL) gives you the ability to add support for Microsoft's cloud identity APIs to your application, including support for Office365 and Work Accounts.

These SDKs support native clients such as Windows, Windows Phone, iOS, OSX, Android, and Linux and server clients such as Windows Server, Node.js and Java.

These SDK gives your application the full functionality of Microsoft's identity platform, including industry standard protocol support for OAuth2, Web API integration with user level consent, and two factor authentication support. Best of all, it’s FOSS (Free and Open Source Software) so that you can participate in the development process as we build these libraries.

What is a Work Account?

A Work Account is an identity you use to get work done no matter if at your business or on a college campus. Anywhere you need to get access to your work life you'll use a Work Account. The Work Account can be tied to an Active Directory server running in your datacenter or live completely in the cloud like when you use Office365. A Work Account will be how your users know that they are accessing their important documents and data backed my Microsoft security.

We provide a full suite of sample applications and documentation on GitHub to help you get started with learning the Azure Identity system. This includes tutorials for native clients such as Windows, Windows Phone, iOS, OSX, Android, and Linux. We also provide full walkthroughs for authentication flows such as OAuth2, OpenID Connect, Graph API, and other awesome features.

Contributing

All code is licensed under the Apache 2.0 license and we triage actively on GitHub. We enthusiastically welcome contributions and feedback. You can clone the repo and start contributing now.

1611 questions
0
votes
1 answer

adal-node Server-to-Server returns "Unsupported app only token."

When trying to use the adal-node library from here for the Server to Server via Client Credentials, the code works for the discovery endpoint etc., but when trying to use it with Office 365, I get the "Unsupported app only token" error. I'm…
Darren
  • 1,071
  • 1
  • 15
  • 39
0
votes
1 answer

How to manage retrieval of ADAL auth token in a mulithreaded application

I have high volume multi threaded java based application which needs to call REST based endpoints running on Microsoft cloud with Authorization token in the header retrieved using "Azure ADAL AcquireToken". I am using…
akg
  • 3
  • 3
0
votes
1 answer

Adal authenticate to a different authority

I am writing a script which basically (simply put) lists the logged-on user's azure subscriptions. I'm starting by authenticating to "https://login.windows.net/common/oauth2/authorize" using adal. From there, I get a list of the tenants this user is…
Trondh
  • 3,221
  • 1
  • 25
  • 34
0
votes
1 answer

Change configuration in Active Directoy with code?

I have a very strange requirement and I want to know how feasible its. A customer wants a web application, but in it, they want the administrator to be able of: Create users in Active Directory 2. Be able to change users password or generate random…
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506
0
votes
1 answer

ADAL reduce token lifetime from the default 60 minutes for testing

we're working on some Azure-related script using ADAL for authentication. I'm working on the code for refreshing the access token, and would like to test this without having to wait for 60 minutes until the access token expires. Anyone know if…
Trondh
  • 3,221
  • 1
  • 25
  • 34
0
votes
1 answer

AADSTS65001: The user has not consented to the requested scope

I'm trying to use the adal.js experimental libraries to authenticate a user and obtain an accessToken for their Office 365 Calendar. My web page uses implicit flow and JS implementation (not the adal-angular.js libraries). I have passed in the scope…
z.rahui
  • 128
  • 7
0
votes
1 answer

Authenticating using Azure Directory for a Hosted Java Application

Our product is a hosted Web application which needs to be accessed by a client X using SSO. The client credentials are maintained on a Azure Cloud platform, and users are authenticated when they login to their Windows PC. What is the best way for…
javshak
  • 179
  • 2
  • 15
0
votes
2 answers

Publishing ASP.NET Site to Azure Changes ClientId in Web.Config

I used Visual Studio 2015 Update 1 to create a simple ASP.NET MVC app secured by Azure AD and tested it locally, where everything worked fine. I then deployed it to an Azure web site, where after authentication the app failed because it said I was…
Steve Peschka
  • 1,015
  • 11
  • 25
0
votes
1 answer

c# ADAL v1.x pass user credentials without browser window

I have some problem with ADAL version 1.x I need to obtain user credentials on my own way, not with ADAL browser window, but I don't know how to pass these credentials to AcquireToken method. Unfortunately I cannot use version 2.x of ADAL, because…
Szymon Szczupak
  • 153
  • 1
  • 7
0
votes
1 answer

Can I use ADAL.js in website with MVC architecture

Currently I am using ADAL.NET in our website which follows MVC architecture. I use session cache for storing the user tokens. Can I used ADAL.JS instead of ADAL.NET and store the user token in the browser/client to avoid using the session cache?
SteelBird82
  • 759
  • 3
  • 10
  • 23
0
votes
2 answers

nodejs + azure active directory + daemon application

I want to create a simple backend application in node that can query AAD to get a list of OUs or Groups. My application needs this type of information to create groups of users in our system. I'm having trouble getting started here. I found this…
AngularNerd
  • 871
  • 7
  • 14
0
votes
1 answer

Adal.js - multiple user accounts belonging to different tenants/applications

In our current SPA we have the same user setup in different tenants for dev, test, uat etc. e.g the user john doe will have the following a/cs. jdoe@dev.onmicrosoft.com jdoe@test.onmicrosoft.com jdoe@uat.onmicrosoft.com We have separate…
kolhapuri
  • 1,581
  • 4
  • 20
  • 31
0
votes
1 answer

ADAL - ClientAssertionCertificate

We can successfully acquire a token using the following code: var certificate = Certificate.Load("Client.pfx", "notasecret"); var authenticationContext = new AuthenticationContext(authority); var clientAssertionCertificate = new…
Haroon
  • 1,052
  • 13
  • 28
0
votes
0 answers

clang: error: no such file or directory: 'ADALiOS'

I am creating a swift project in which I am implementing Microsoft Azure B2C sdk. To do so I am writing following line in my pod pod 'ADALiOS', :git => 'https://github.com/AzureAD/azure-activedirectory-library-for-objc', :branch =>…
user1722889
0
votes
1 answer

Share tokens between multiple applications ADAL android

I am using the ADAL library to authenticate users in an application. I was wondering if there was a way to share the auth token with another application so that a user can login in one app and doesn't have to do it again in the other one. I have…
Biniou
  • 133
  • 1
  • 9
1 2 3
99
100