azure-ad-b2c

Sign in with Apple - Button customization

别等时光非礼了梦想. 提交于 2020-08-10 19:27:43
问题 I have the custom policies working correctly with Apple Sign In but once I submitted to Apple for review they rejected my app because the button doesn't use the proper design/branding. Is there a way to customize the "Sign in with Apple" button with a logo and colors? From apple: Your app uses Sign in with Apple as a login option but does not use Sign in with Apple button design, branding and/or user interface elements appropriately as described in the Sign in With Apple Human Interface

Sign in with Apple - Button customization

你说的曾经没有我的故事 提交于 2020-08-10 19:27:16
问题 I have the custom policies working correctly with Apple Sign In but once I submitted to Apple for review they rejected my app because the button doesn't use the proper design/branding. Is there a way to customize the "Sign in with Apple" button with a logo and colors? From apple: Your app uses Sign in with Apple as a login option but does not use Sign in with Apple button design, branding and/or user interface elements appropriately as described in the Sign in With Apple Human Interface

How to make user return on login page after sign-up in Azure AD B2C?

风格不统一 提交于 2020-08-10 19:17:30
问题 When a user is signing-up in the system, he is automatically redirected to our application as a signed in user. I would like that after the sign-up, he is redirected to the signing page. I want this behavior since users need to be approved by an admin before having access to the system. I use custom policies. I tried to use the "SM-Noop" session manager but it is not working. There is my code: <!--Local account sign-up page--> <TechnicalProfile Id="LocalAccountSignUpWithLogonEmail">

Return simple string claim from custom policies in ADB2C

一笑奈何 提交于 2020-08-10 01:12:25
问题 I followed this article where it explains how to implement a custom policy using Active Directory B2C. Everything is working great, the only concern I have is that the custom claim is returned like a serialized object. Let me explain a little bit better. I successfully created the Azure Function which return the custom claim. The encoded resulting JWT is like the following (please focus on the " userPermissions " value): { "exp": 1594560277, "nbf": 1594556677, "ver": "1.0", "auth_time":

Azure B2C How to retrieve Built-In User Claims/Attributes

喜你入骨 提交于 2020-07-21 02:26:28
问题 I am attempting to retrieve some very basic information from Azure B2C, using the Built-In User Attributes and Claims. I merely want to return Given Name Surname UserId Email Its not totally obvious (to me) how B2C is storing this content... The SignIn/SignOut Policy (User Attirubtes) displays Email Address as a string but the SignIn/SignOut Policy (Application Claims) displays Email Addresses as a stringCollection Using the below code, I am attempting to return the 4 above Claims but only

How can I pass a custom value to Azure AD B2C and need to return that parameter along with the response or with the common Redirect URI?

纵饮孤独 提交于 2020-07-10 07:35:41
问题 I have to handle multiple login pages/applications which need to redirect to a common landing page index.html and need to access custom string to identify the requested application. The token generation endpoint is common for all login pages. Scenario : I have multiple login pages 1: Login1.html 2: Login2.html Token generation endpoint will be same for both logins page. After successful authentication from Azure AD B2C application it will redirect to a common landing page 'http://localhost

AzureADB2C.UI - access to OpenIdConnectEvents (OnTokenValidated)

六月ゝ 毕业季﹏ 提交于 2020-06-29 04:27:44
问题 I use the library AzureADB2C.UI to enable Azure ADB2C authentication. But now I would like to add a custom claim after authentication and I wanted to do this during OpenIdConnectEvents.OnTokenValidated. But those events are not exposed. Any suggestion what the most appropriate way is to add a custom claim in this situation? And preferable keep on using the package to avoid too much custom code. I tried the following on SO but this didn't work out. Many thanks 回答1: You can refer to below code

AzureADB2C.UI - access to OpenIdConnectEvents (OnTokenValidated)

ぃ、小莉子 提交于 2020-06-29 04:27:34
问题 I use the library AzureADB2C.UI to enable Azure ADB2C authentication. But now I would like to add a custom claim after authentication and I wanted to do this during OpenIdConnectEvents.OnTokenValidated. But those events are not exposed. Any suggestion what the most appropriate way is to add a custom claim in this situation? And preferable keep on using the package to avoid too much custom code. I tried the following on SO but this didn't work out. Many thanks 回答1: You can refer to below code

Cancel button not shown in Azure AD B2C Sign-in dialog

≡放荡痞女 提交于 2020-06-28 05:50:06
问题 How do I get a Cancel button shown in the default Azure AD B2C sign-in UI that is displayed when I do a redirect login using the combined sign-in/sign-up policy? The Cancel button should redirect the user back to the calling page in my Angular 4 SPA. Is this possible to do without using a custom page layout for the signIn/signUp policy? 回答1: No, it is not. You have to use a custom page. FYI, the sign-up only policy has a cancel button. The sign-up page in a sign-in/sign-up policy has a cancel

Why does Blazor.net Server, Visual Studio 2019 set up AAD B2C to use OAuth implicit flow but recommends against it?

三世轮回 提交于 2020-06-28 04:09:11
问题 I set up a new Blazor.NET project in Visual Studio 2019 (preview 5) and add Azure AD B2C (AADB2C) and deploy it to an Azure Docker AppService. If I don't enable OAuth2 implicit flow in AADB2C, then I get the following error using an AADB2C V2 Sign-In-Flow: error=unauthorized_client&error_description=AADB2C90057%3A+The+provided+application+is+not+configured+to+allow+the+%27OAuth%27+Implicit+flow. However, the AADB2C site advises against using this flow unless required for serverless SPA. It