{"id":14586,"date":"2023-03-20T12:00:00","date_gmt":"2023-03-20T19:00:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cse\/?p=14586"},"modified":"2024-07-18T11:51:57","modified_gmt":"2024-07-18T18:51:57","slug":"azure_ad_b2c_flutter","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/ise\/azure_ad_b2c_flutter\/","title":{"rendered":"In-App User Experience with Flutter Embedded Web View and Azure Active Directory B2C User Flows"},"content":{"rendered":"

Azure Active Directory B2C AAD B2C<\/a> is a cloud-based Identity and Access Management service that enables you to customize and control the user sign-up, sign-in, and profile management process.<\/p>\n

This article will walk you through several ways on how we can integrate AAD B2C’s user login workflow within mobile app development using Flutter.<\/p>\n

To secure the token in the app, we can use flutter-secure-storage<\/a> and navigate to a route’s screen inside the app after successful sign in.<\/p>\n

Before we dive in further, let’s talk a little bit more about the scenario we were solving for.<\/p>\n

Customer Scenario<\/h2>\n

One of our customers was actively building a state-of-the-art mobile application using the open-source framework Flutter. Flutter currently stands at #2, after React Native, for mobile development. The customer was facing a major challenge on how to tackle authentication & authorization within the app.<\/p>\n

Below were the MVP requirements:<\/p>\n