Displaying 1 to 20 from 22 results

active-directory-b2c-android-native-appauth - Demonstrates how you can use a third party library to build an Android application that authenticates Microsoft identity users to our B2C identity service and calls a web API using OAuth 2

  •    Java

This sample demonstrates how to use Azure AD B2C using a 3rd party library called AppAuth. It has only been tested for compatibility in basic scenarios with Azure AD B2C. Issues and feature requests should be directed to the library's open-source project. This sample is a quickstart to help you get started with Azure AD B2C on Android using a 3rd party library called AppAuth. The sample is already configured to use a demo environment and can be run simply by downloading the code and building the app on your machine. Follow the instructions below if you would like to use your own Azure AD B2C configuration.

active-directory-b2c-ios-native-appauth - Demonstrates how you can use a third party library to build an iOS application in Objective-C that authenticates Microsoft identity users to our Azure AD B2C identity service

  •    Objective-C

This sample demonstrates how to use Azure AD B2C using a 3rd party library called AppAuth. It has only been tested for compatibility in basic scenarios with Azure AD B2C. Issues and feature requests related to AppAuth should be directed to the library's open-source project. This sample is a quickstart to help you get started with Azure AD B2C on iOS using a 3rd party library called AppAuth. The sample is already configured to use a demo environment and can be run simply by downloading the code and building the app on your machine. Follow the instructions below if you would like to use your own Azure AD B2C configuration.

ms-identity-android-native - An Android app showcasing how to use MSAL to authenticate MSA and Azure AD via the converged v2

  •    Java

This app is a multi-tenant app meaning it can be used by any Azure AD tenant or Microsoft Account. It demonstrates how a developer can build apps to connect with enterprise users and access their Azure + O365 data via the Microsoft Graph. During the auth flow, end users will be required to sign in and consent to the permissions of the application, and in some cases may require an admin to consent to the app. The majority of the logic in this sample shows how to auth an end user and make a basic call to the Microsoft Graph. The app comes pre-configured for trying the sample. If you would like to register your own app, please follow the steps below.




microsoft-authentication-library-for-android - Microsoft Authentication Library (MSAL) Preview for Android

  •    Java

The MSAL library for Android gives your app the ability to begin using the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft Accounts in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports Azure AD B2C. This library is suitable for use in a production environment. We provide the same production level support for this library as we do our current production libraries. During the preview we may make changes to the API, internal cache format, and other mechanisms of this library, which you will be required to take along with bug fixes or feature improvements. This may impact your application. For instance, a change to the cache format may impact your users, such as requiring them to sign in again. An API change may require you to update your code. When we provide the General Availability release we will require you to update to the General Availability version within six months, as applications written using a preview version of library may no longer work.

microsoft-authentication-library-for-dotnet - Microsoft Authentication Library (MSAL) Preview for

  •    CSharp

The MSAL library for .NET gives your app the ability to begin using the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft Accounts in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports Azure AD B2C. The ADAL GitHub repo is used for future development of MSAL and ADAL. We have done this to enable easier code sharing between the two libraries. You can see build status in that repo.

microsoft-authentication-library-for-objc - Microsoft Authentication Library (MSAL) Preview for iOS

  •    Objective-C

The MSAL library preview for iOS gives your app the ability to begin using the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft Accounts in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports Microsoft Azure B2C for those using our hosted identity management service. Note that for the preview, only iOS is supported. macOS support will be provided later.

active-directory-android - An android app that uses Azure AD and the ADAL library for authenticating the user and calling a web API using OAuth 2

  •    Java

This app can be used for all Azure AD accounts. It supports both single and multi Organizational scenarios (discussed in steps). It demonstrates how a developer can build apps to connect with enterprise users and access their Azure + O365 data via the Microsoft Graph. During the auth flow, end users will be required to sign in and consent to the permissions of the application, and in some cases may require an admin to consent to the app. The majority of the logic in this sample shows how to auth an end user and make a basic call to the Microsoft Graph. You will need to have a native client application registered with Microsoft using the Azure portal.


active-directory-b2c-advanced-policies - Sample for use with Azure AD B2C with Custom Policies.

  •    CSharp

A Demo of Azure AD B2C is deployed at https://wingtipgamesb2c.azurewebsites.net/. The Identity Experience Framework is a powerful identity engine with a very comprehensive feature set, that is used internally for Microsoft services like Azure AD B2C. Only a subset of features will be tested, monitored, documented, and supported over time. The supported list will increase quickly. Unsupported samples and documentation are provided for our fans and partners for training, and feedback only.

active-directory-b2c-custom-policy-starterpack - Azure AD B2C now allows uploading of a Custom Policy which allows full control and customization of the Identity Experience Framework

  •    CSharp

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments. 05/19/2017 - Added Key definition to the metadata element in all four TrustframeworkBase.xml versions. When this Item Key is set to TRUE, the expiration dates on the token issued by B2C will be presented as JSON Numbers. When set to False (default) they will be presented as strings.

active-directory-b2c-dotnet-desktop - Sample showing how a Windows Desktop

  •    CSharp

This simple sample demonstrates how to use the Microsoft Authentication Library (MSAL) for .NET to get an access token and call an API secured by Azure AD B2C. This sample demonstrates how to sign in or sign up for an account at "Wingtip Toys" (the demo environment for this sample) using a WPF Desktop application.

active-directory-b2c-dotnet-webapp-and-webapi - A combined sample for a

  •    CSharp

This sample contains a solution file that contains two projects: TaskWebApp and TaskService. This sample demonstrates how you can sign in or sign up for an account at "Wingtip Toys" (the demo environment for this sample) using a ASP.NET MVC Web Application.

active-directory-b2c-dotnetcore-webapp - An ASP

  •    CSharp

This sample shows how to build an MVC web application that performs identity management with Azure AD B2C using the ASP.Net Core OpenID Connect middleware. It assumes you have some familiarity with Azure AD B2C. If you'd like to learn all that B2C has to offer, start with our documentation at aka.ms/aadb2c. The app is a dead simple web application that performs three functions: sign-in, sign-up, and sign-out. It is intended to help get you started with Azure AD B2C in a ASP.NET Core application, giving you the necessary tools to execute Azure AD B2C policies & securely identify uses in your application.

active-directory-b2c-ios-swift-native-msal - An iOS sample in Swift that authenticates Azure AD B2C users and calls an API using OAuth 2

  •    Swift

You will need to have a B2C client application registered with Microsoft. Follow the instructions here. Make sure you make note of your client ID, and the name of the policies you create. Once done, you will need add the redirect URI of msal<your-client-id-here>://auth. We use Carthage for package management during the preview period of MSAL. This package manager integrates very nicely with XCode while maintaining our ability to make changes to the library. The sample is set up to use Carthage.

active-directory-b2c-javascript-angular2

  •    TypeScript

This simple sample demonstrates how to use the Microsoft Authentication Library Preview for JavaScript (msal.js) with Angular 2.4 to sign into Azure AD B2C. The sample is already configured to use a demo environment and can be run simply by downloading the code and running the app on your machine. Follow the instructions below if you would like to use your own Azure AD B2C configuration.

active-directory-b2c-javascript-hellojs-singlepageapp - A single page app, implemented with an ASP

  •    Javascript

IMPORTANT NOTE: Silent renewing of access tokens is not supported by all social identity providers. This sample shows how to build a web application using Hello.js that performs identity management with Azure AD B2C . It assumes you have some familiarity with Azure AD B2C. If you'd like to learn all that B2C has to offer, start with our documentation.

active-directory-b2c-javascript-msal-singlepageapp - A single page application (SPA) calling a Web API

  •    HTML

⚠️ Silent renewing of access tokens is not supported by all social identity providers. This simple sample demonstrates how to use the Microsoft Authentication Library Preview for JavaScript (msal.js) to get an access token and call an API secured by Azure AD B2C.

active-directory-b2c-javascript-nodejs-webapi - A small Node

  •    Javascript

This sample demonstrates how to protect a Node.js web API with Azure AD B2C using the Passport.js library. The code here is pre-configured with a registered client ID. If you register your own app, you will need to replace the client ID. Clone the code.

active-directory-b2c-php-webapp-openidconnect - A PHP web application that authenticates users with Azure AD B2C using OpenID Connect

  •    PHP

This repo contains code for a PHP blogging application that demonstrates the use of several B2C policies: general sign-in/sign-up without multifactor authetication, sign-in/sign-up with multifactor authentication, and profile editing. Users designated as administrators must login with the administrator policy requiring multifactor authentication. Administrators have the ability to create new blog posts. The application also illustrates how to receive and verify id-tokens from the B2C endpoint following the OpenID Connect standard. The instructions below show you how to run/deploy your own blogging application using PHP (with the framework Laravel) and IIS on Windows.

active-directory-b2c-xamarin-native - This is a simple Xamarin Forms app showcasing how to use MSAL to authenticate users via Azure Active Directory B2C, and access a Web API with the resulting tokens

  •    CSharp

This is a simple Xamarin Forms app showcasing how to use MSAL to authenticate users via Azure Active Directory B2C, and access an ASP.NET Web API with the resulting token. For more information on Azure B2C, see the Azure AD B2C documentation. If you don't have an Azure AD B2C tenant, you can follow those instructions to create one. If you just want to see the sample in action, you don't need to create your own tenant as the project comes with some settings associated to a test tenant and application; however it is highly recommend that you register your own app and experience going through the configuration steps below.