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
2 answers

The user credentials are need to obtain access token. Please call the non-silent acquireTokenWithResource methods. ADALiOS issue

In my swift project, I am using convergence dev branch source code. I have added ADALiOS files manually in my project. Currently retrieving access token from refresh token is a problem. Till last week my project was working all fine but as I opened…
user1722889
0
votes
2 answers

ADALiOS seems to be redirecting my login to login.live.com

I'm trying to use ADALiOS framework v1.2.4 to acquire a token with a specific resource and clientId. I'm using a custom authority hosted on 'microsoftonline.com'. I create an authentication context from within a VC thusly: ADAuthenticationError…
pfg2009
  • 110
  • 1
  • 9
0
votes
1 answer

ADAL for iOS build error on Xcode 7.3

We are using ADALiOS version 1.2.5. We have updated Xcode to version 7.3. Microsoft ADAL library fails to compile. The errors are as follows: Could not build Objective C module 'ADALiOS' Build errors in file : ADPersistentTokenCacheStore. Please…
Mangesh
  • 71
  • 1
  • 5
0
votes
1 answer

Silent login on Microsoft Azure AD with the ADAL library

We have an IOS app that uses Azure AD with the ADAL library. First time an administrator does the initial setup of the device. So it logs the user in with their credentials and they are stored locally onto the device. The device then goes to a…
Steaphann
  • 2,797
  • 6
  • 50
  • 109
0
votes
1 answer

Trying to map a Java ADAL acquireToken() method to the ruby ADAL implementation

The ADAL Java implementation has the following method: public Future acquireToken(final String resource, final AsymmetricKeyCredential credential, final AuthenticationCallback callback) I am trying to map it…
Sully
  • 1
0
votes
0 answers

Azure website and web api Authentication

I'm working on a Azure website that uses Azure Active Directory to authenticate users (AdalAngular). The server hosting the website requests data from a 3rd party Web API that requires Basic or Kerberos authentication. Currently, we provide the…
Alan
  • 140
  • 9
0
votes
1 answer

Embed Power BI Report in HTML Page

I am Trying to embed a Power BI report in an HTML page, now I know how to create the basic code to embed the report in an iframe using javascript, but the problem is that I could not automate the process to generate and refresh the access token in…
alexanderg
  • 11
  • 4
0
votes
0 answers

Passing Values through Angular Adalauthenticationservice login

I am creating angular application which involves authentication of user in AzureAD. So I am using ADALJs for authenticating user in AAD.Its working perfectly. But I want to get some additional information about the user the before moving to…
Skull
  • 1,204
  • 16
  • 28
0
votes
1 answer

Bad Request - ERROR 3840: The data couldn’t be read because it isn’t in the correct format when using a Sign In policy

Issue logged here: https://github.com/AzureAD/azure-activedirectory-library-for-objc/issues/537 Guidance is to ask here. I am finding both Sign Up and Sign In policies fail with a BadRequest 400: 2016-02-24 17:48:30.047 Microsoft Tasks for…
0
votes
1 answer

ADAL Persistent TokenCache in UWP Application

I'm doing simple AAD authentication in a new Windows 10 UWP app. It's working great, except for I don't want the user to enter their credentials each time the app is launched. From what I understand, the default shared TokenCache is supposed to do…
Brent
  • 545
  • 5
  • 7
0
votes
1 answer

Getting token from Office 365 throws 'unknown_error'

I'm following the following tutorial(Outlook dev center tutorial) and my code is throwing an unknown_error in this part (at the get the token): public async Task Authorize() { // Get the 'code' parameter from the Azure…
Kiwi
  • 2,713
  • 7
  • 44
  • 82
0
votes
1 answer

Authorize an angular.js app to access a Web API 2 project secured by Azure Active Directory auth

Using the Microsoft stack (via Visual Studio 2015) I'm building a solution that has what appears to be a somewhat unique structure. The solution has two important projects, one is a Web API 2 project, and the other is purely a web client, an…
Josh R
  • 1,970
  • 3
  • 27
  • 45
0
votes
2 answers

How to authenticate on Azure Active Directory via LDAP using node?

I am completely new to this. I have the users on AAD. I need to authenticate them using node js. Can someone guide me on how to get started and how to go about it?
who-aditya-nawandar
  • 1,334
  • 9
  • 39
  • 89
0
votes
1 answer

Difference between AD token obtained using ADAL & ADAL JS

I have a unique scenario where the authentication is done against Azure AD using Open ID Connect middle-ware, now once the application is authenticated and session established, I would need to make AJAX calls to WebAPI services sitting on the same…
deepesh
  • 65
  • 2
  • 6
0
votes
1 answer

How can I get OpenIdConnectAuthenticationMiddleware to validate the signing certificate validity dates?

I am using Microsoft's OpenIdConnectAuthenticationMiddleware against IdentityServer3 in a hybrid flow. I'll skip the IdentityServer3 setup code (as I don't think there's an issue there), but here's the relying party startup…
Chris Simmons
  • 6,924
  • 5
  • 31
  • 47
1 2 3
99
100