azure-ad-b2c

unable to set sign on url and app Id url

末鹿安然 提交于 2019-12-25 16:45:49
问题 I have created an app using apps.dev.microsoft.com . This app shows up in my Azure AD but when I am trying to set the value of the sign on url and the app id url from manage.windowsazure.com and clicking on the save button the save fails with error message: This request has a value that is not valid. I am putting "http://localhost/crm" as the value for APP ID URI and "http://localhost/crm" as value for SIGN-ON URL. Where am I going wrong ? 回答1: At present, the Azure AD v2.0 apps are managed

Refresh token revocation in Azure AD B2C

时光毁灭记忆、已成空白 提交于 2019-12-25 01:43:28
问题 In my AD B2C application, i need to revoke the all refresh tokens given by AD B2C for a user. This is a requirement to implement as when user account is logged in multiple apps and in one app user changed the password. When password is changed, i have revoke all of his refresh tokens given to other apps. How to do that? Update: I have tried following, B2C -Get Token By Policy https://login.microsoftonline.com/te/tenantname.onmicrosoft.com/b2c_1a_policyname/oauth2/v2.0/authorize https://login

Azure AD B2C Custom Policy

戏子无情 提交于 2019-12-25 00:56:32
问题 I have implemented sign in/signup policies using Azure AD B2C custom policy. I came across two problems while doing this: Is there a method so I can add a button to sign in page which redirects on click? Or can I add a hyperlink in HTML document and call the policy to it? Is it possible to display what we type on a textbox in another label like in AJAX? As custom policies are created using XML, can I use data binding for this? 回答1: At this point, Azure AD B2C pages only support HTML/CSS

Azure AD B2C Link to Sign Up Page (Not Sign In)

允我心安 提交于 2019-12-25 00:52:36
问题 I'm using Azure AD B2C with msal.js in my React app. Currently, when the user tries to enter the protected area of my app, msal.js redirects the user to the login in page which provides a link to the sign up page. Is there a way for me to send users directly to the sign up page? There are cases when I know the user has not yet signed up so it's bad user experience to send the user first to the sign in page then let them click and go to the sign up page. It would be nicer to just send them

Azure AD B2C - Populate username in custom login page

▼魔方 西西 提交于 2019-12-24 19:47:15
问题 I use Azure AD B2C to authenticate users for my asp.net web application. I have a customized sign-up-sign-in policy with custom login page. Is it possible to store the username whenever the user gets redirected to the Azure custom login page ? Also is there a way to pass the username to the custom login page ? 来源: https://stackoverflow.com/questions/44680972/azure-ad-b2c-populate-username-in-custom-login-page

Azure AD B2C Custom Policy with Sign Up Page Only

五迷三道 提交于 2019-12-24 16:57:04
问题 I want to create a custom policy in Azure AD B2C. I can't find such an example in the starterpack (https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack). I checked this post Azure AD B2C Link to Sign Up Page (Not Sign In) and if I understand it correctly there is no url I can use of existing custom signup_signin policy to end up directly in Sign Up page. Creating "Sign up v2" flow works, but I need a custom one and coping code from the build in one and placing it to

In Oauth2 where are the resources that the resource owner owns?

给你一囗甜甜゛ 提交于 2019-12-24 16:43:19
问题 I have been trying to understand about OAuth2 in my question here Suppose I use my Facebook account to log in to a web site (say Stack Overflow ) via OAuth2. I understand that I am the "resource owner" but which resources am I owning in this scenario? My things in Facebook or my things in Stack Overflow? From this Oauth for dummies article it would seem the resources are in Facebook, but from the answers to my question it would seem the resources are in Stack Overflow. Are the resources the

In Oauth2 where are the resources that the resource owner owns?

点点圈 提交于 2019-12-24 16:43:06
问题 I have been trying to understand about OAuth2 in my question here Suppose I use my Facebook account to log in to a web site (say Stack Overflow ) via OAuth2. I understand that I am the "resource owner" but which resources am I owning in this scenario? My things in Facebook or my things in Stack Overflow? From this Oauth for dummies article it would seem the resources are in Facebook, but from the answers to my question it would seem the resources are in Stack Overflow. Are the resources the

Email Address Auto Populate not working in Azure B2C Custom Policy and disable change email option

你说的曾经没有我的故事 提交于 2019-12-24 14:53:00
问题 Continuing from Populate the email address text box in Azure AD B2C Orchestration something has gone wrong. The email box is not populating and I am missing something. Idea is to verify a login with Email OTP and then let then change/add Mobile number for MFA UserJourney <UserJourney Id="TestEmailOTP"> <OrchestrationSteps> <OrchestrationStep Order="1" Type="ClaimsProviderSelection" ContentDefinitionReferenceId="api.idpselections"> <ClaimsProviderSelections> <ClaimsProviderSelection

Modifying MS Graph responses for display on site

做~自己de王妃 提交于 2019-12-24 12:16:41
问题 I have a c# Web App that connects to Azure AD B2C directory with MS Graph to display user data. I'm looking for a best practice way to display the contents returned by Graph Query. I could always do straight forward string formatting, but I'm looking for something more optimal. I use HttpResponseMessage httpmsg = await QueryGraphAsync("/users?$select=displayName"); and the response looks like this : {"@odata.context":"https://graph.microsoft.com/beta/$metadata#users(displayName)","value":[{