azure-ad-b2c

SPA App Azure B2C Authentication with MSAL. Keep user logged in

旧街凉风 提交于 2019-12-11 02:28:20
问题 I have a SPA App (VueJS) which uses Azure B2C with MSAL to authenticate users. Authentication works just fine. But what does not work is, that the user is not kept logged in. As long as i use the app, everything works just fine. But when i start my app the next day i have to relogin (or just reselect the account I want to use), but I would like to have the same user experience like for example the azure portal. I can revisit the portal after one week and do not have to relogin. How can i

Styling the custom tab with Xamarin and Azure AD B2C

风流意气都作罢 提交于 2019-12-11 02:08:26
问题 I followed the example of AuthExample that uses Custom Chrome Tabs with Azure AD B2C policies. I do not find any resources on how to style the custom chrome tab (and respectively the Safari controller). The tab always shows the URL in the header and the standard colors which does not look very native. I know I can style the page content itself within Azure portal. Can anyone guide me to links or tutorials on how to style the browser view to adapt to my app design and at least not show the

Which policy (user flow) should my Azure AD B2C-protected API server expect as the authority?

我与影子孤独终老i 提交于 2019-12-11 00:58:15
问题 This is my first time using Azure AD B2C as the user authentication back-end in any of my projects. I'm brand new to the concepts and am trying to piece together my understanding of them. I'm using the Azure AD B2C service. I'm developing a set of applications that all will ultimately use B2C as the user authentication engine. For example, I have an ASP.NET Core API server that exposes my back-end SQL data to end-users. I have a JavaScript React application that uses the B2C implicit workflow

How to add b2c-extensions-app in Azure AD B2C

送分小仙女□ 提交于 2019-12-11 00:49:56
问题 I have created a few B2C directories using the classic Azure portal. Sometimes it adds the b2c-extensions-app but other times it does not. When I delete a directory, Azure seems to have a long memory which prevents me from trying to recreate it (with the same name). Is there a way to manually add the b2c-extensions-app such that it shows up under "Applications my Company Owns" listing? 回答1: The b2c-extensions-app is created automatically as part of creating an Azure AD B2C tenant. It should

Azure AD B2C Connected user change password with Graph AD API

核能气质少年 提交于 2019-12-11 00:29:00
问题 We are using Azure AD B2C and I'm trying to implement the changePassword function for signed-in users. We have followed this tutorial https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-devquickstarts-graph-dotnet, and we have succeeded to make it worked. But we want signed-in users to have the possibility to change their existing password (directly in applications). We found this method (https://msdn.microsoft.com/fr-fr/library/azure/ad/graph/api/functions-and

Graph API - Azure AD B2C - throws error - Application with identifier not found

Deadly 提交于 2019-12-10 22:49:56
问题 I was following the below link to setup the Azure AD B2C- with Graph API setup https://azure.microsoft.com/en-in/documentation/articles/active-directory-b2c-devquickstarts-graph-dotnet/ I was able to proceed with powershell command settings, but when I try with the application, when it executes the below code, authContext.AcquireToken("https://graph.windows.net", credential); getting error like below, what is wrong with this ? AADSTS70001: Application with identifier '33d8d9ba-8c07-462a-8936

Azure AD B2C Error: The client Id specified in the request is not registered in tenant

纵然是瞬间 提交于 2019-12-10 21:44:00
问题 I am attempting to log in to an Azure Active Directory B2C application. Whenever I access the URL https://login.microsoftonline.com/te/<my_domain>/<my_sign_up_sign_in_policy_name>/oauth2/v2.0/authorize?client_id=<my_client_id>... , I get the following error: The client id <my_client_id> specified in the request is not registered in tenant <my_tenant_name> . Here is some information about my configuration: In https://portal.azure.com , I have created the Azure Active Directory B2C tenant which

B2C Company Branding Not Applying to All Policies

假如想象 提交于 2019-12-10 19:28:30
问题 I've uploaded a sign-in page background image but it is only applying to my Edit Policy . Shouldn't it apply to all policies*? Works on Edit Policy Not working on my Sing-Up Policy *Assuming I haven't assigned a custom page URI. 回答1: Only the sign-in policy and the "sign-in" page of profile edit policies use the mechanism that you have highlighted in your question. All other pages in all B2C policies have their own customization, which is described in another question by Jose Rojas: https:/

Return emails on custom policies

a 夏天 提交于 2019-12-10 19:19:23
问题 I'm using custom policies and I saw that the field "emails" that exists in built-in policies but doesn't exist in custom policies. There is a claim named otherMails instead. I want to return an emails claim in my tokens with a list of user emails. I want that claim on my signup/sign-in and password reset policies. I'm using the custom policies in the starter pack. But I don't know which TechnicalProfiles should I change. I tried a few things but it doesn't work. Thanks in advance! 回答1: When

Set display name / username for email local accounts in Azure AD B2C?

三世轮回 提交于 2019-12-10 18:51:52
问题 I'm new to Azure AD B2C and have set up a site that correctly authenticates using local accounts (email only). When the validation request comes back, I see the email address under the 'emails' claim, but the 'name' claim comes back as 'unknown'. Looking in Azure portal, the account is created but the name is unset and is 'unknown' for all users that register. This isn't what I was expecting. I would prefer that the 'name' be set to the email address by default so that it is easier to find