Azure Custom Policy B2C - Orchestration stepAzure B2C signIn policy - lack of functionalityAzure AD B2C Password Reset policy without email verification stepCan you pass password claims between steps in Azure AD B2C Custom Policies?Azure AD B2C - skipping the last step of email verificationAzure AD B2C Custom Policy with Username LogonAzure AD B2C Reset Password Custom Policy with confirmation screenAzure AD B2C Sign-in Custom Policy remember userPopulate the email address text box in Azure AD B2C OrchestrationHow to give a custom error message if on Forgotten Password Page of Azure B2C?
US entry with tourist visa but past alcohol arrest
The quicker I go up, the sooner I’ll go down - Riddle
What can a pilot do if an air traffic controller is incapacitated?
How much Damage can be done with "just" heating matter?
Allocating credit card points
How to make interviewee comfortable interviewing in lounge chairs
I feel like most of my characters are the same, what can I do?
1, 2, 4, 8, 16, ... 33?
Can this word order be rearranged?
How to ask a man to not take up more than one seat on public transport while avoiding conflict?
reverse a list of generic type
How does IBM's 53-bit quantum computer compare to classical ones for cryptanalytic tasks?
Would Taiwan and China's dispute be solved if Taiwan gave up being the Republic of China?
Can the U.S. president make military decisions without consulting anyone?
Norwegian refuses EU delay (4.7 hours) compensation because it turned out there was nothing wrong with the aircraft
Is it impolite to ask for halal food when traveling to and in Thailand?
Cut a cake into 3 equal portions with only a knife
Does the Orange League not count as an official Pokemon League, making the Alolan League his first-ever win?
What is the meaning of word 'crack' in chapter 33 of A Game of Thrones?
Has my MacBook been hacked?
Where does an unaligned creature's soul go after death?
Worms crawling under skin
Escape the labyrinth!
As a discovery writer, how do I complete an unfinished novel (which has highly diverged from the original plot ) after a time-gap?
Azure Custom Policy B2C - Orchestration step
Azure B2C signIn policy - lack of functionalityAzure AD B2C Password Reset policy without email verification stepCan you pass password claims between steps in Azure AD B2C Custom Policies?Azure AD B2C - skipping the last step of email verificationAzure AD B2C Custom Policy with Username LogonAzure AD B2C Reset Password Custom Policy with confirmation screenAzure AD B2C Sign-in Custom Policy remember userPopulate the email address text box in Azure AD B2C OrchestrationHow to give a custom error message if on Forgotten Password Page of Azure B2C?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I wanted to know how we can write a policy to show the user a Sign Up button which can direct him to another screen to sign up using the email address. I wrote a custom policy which works with a user with account in the Active directory. For this the first orchestration step lets the user sign in using an email. The step comes back with a message if the user is not found.
After that I am trying to write the second orchestration step which should be executed only if the user was not found in the previous orchestration step.
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
The step is not executed even after I get the message that the user was not found. How can I get this working. I would have preferred the user to be shown a sign up button the same screen.
Any ideas?
Update: I have a feeling that the alternate flow of not being able to find the user should be handled in the TechnicalProfile and not the orchestration step.
azure azure-ad-b2c orchestration
add a comment
|
I wanted to know how we can write a policy to show the user a Sign Up button which can direct him to another screen to sign up using the email address. I wrote a custom policy which works with a user with account in the Active directory. For this the first orchestration step lets the user sign in using an email. The step comes back with a message if the user is not found.
After that I am trying to write the second orchestration step which should be executed only if the user was not found in the previous orchestration step.
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
The step is not executed even after I get the message that the user was not found. How can I get this working. I would have preferred the user to be shown a sign up button the same screen.
Any ideas?
Update: I have a feeling that the alternate flow of not being able to find the user should be handled in the TechnicalProfile and not the orchestration step.
azure azure-ad-b2c orchestration
add a comment
|
I wanted to know how we can write a policy to show the user a Sign Up button which can direct him to another screen to sign up using the email address. I wrote a custom policy which works with a user with account in the Active directory. For this the first orchestration step lets the user sign in using an email. The step comes back with a message if the user is not found.
After that I am trying to write the second orchestration step which should be executed only if the user was not found in the previous orchestration step.
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
The step is not executed even after I get the message that the user was not found. How can I get this working. I would have preferred the user to be shown a sign up button the same screen.
Any ideas?
Update: I have a feeling that the alternate flow of not being able to find the user should be handled in the TechnicalProfile and not the orchestration step.
azure azure-ad-b2c orchestration
I wanted to know how we can write a policy to show the user a Sign Up button which can direct him to another screen to sign up using the email address. I wrote a custom policy which works with a user with account in the Active directory. For this the first orchestration step lets the user sign in using an email. The step comes back with a message if the user is not found.
After that I am trying to write the second orchestration step which should be executed only if the user was not found in the previous orchestration step.
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
The step is not executed even after I get the message that the user was not found. How can I get this working. I would have preferred the user to be shown a sign up button the same screen.
Any ideas?
Update: I have a feeling that the alternate flow of not being able to find the user should be handled in the TechnicalProfile and not the orchestration step.
azure azure-ad-b2c orchestration
azure azure-ad-b2c orchestration
edited Mar 28 at 16:01
Aman Mohammed
asked Mar 28 at 15:39
Aman MohammedAman Mohammed
1,5572 gold badges15 silver badges31 bronze badges
1,5572 gold badges15 silver badges31 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
Are you trying to show a sign-in screen which has a link "Sign-up" that allows user to sign-up using SerlfAssertedAttributeProvider? If so, this is how it is done in the LocalAccounts starter pack (copied from TrustFrameworkBase.xml):
<OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin">
<ClaimsProviderSelections>
<ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" />
</ClaimsProviderSelections>
<ClaimsExchanges>
<ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" />
</ClaimsExchanges>
</OrchestrationStep>
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
Thanks for your answer. I have already been through the links you have provided before posting here. I wrote my custom policy solution using the <ValidationTechnicalProfiles>
– Aman Mohammed
Apr 1 at 13:52
Until you provide more details then, it's not possible to help. For example, what does your UJ look like, what validation profiles are used etc. What is expected behavior and what is actual - i.e. the difference between what you want and what you're getting. Then it's easier to suggest an answer.
– Omer Iqbal
Apr 2 at 3:37
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55401624%2fazure-custom-policy-b2c-orchestration-step%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Are you trying to show a sign-in screen which has a link "Sign-up" that allows user to sign-up using SerlfAssertedAttributeProvider? If so, this is how it is done in the LocalAccounts starter pack (copied from TrustFrameworkBase.xml):
<OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin">
<ClaimsProviderSelections>
<ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" />
</ClaimsProviderSelections>
<ClaimsExchanges>
<ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" />
</ClaimsExchanges>
</OrchestrationStep>
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
Thanks for your answer. I have already been through the links you have provided before posting here. I wrote my custom policy solution using the <ValidationTechnicalProfiles>
– Aman Mohammed
Apr 1 at 13:52
Until you provide more details then, it's not possible to help. For example, what does your UJ look like, what validation profiles are used etc. What is expected behavior and what is actual - i.e. the difference between what you want and what you're getting. Then it's easier to suggest an answer.
– Omer Iqbal
Apr 2 at 3:37
add a comment
|
Are you trying to show a sign-in screen which has a link "Sign-up" that allows user to sign-up using SerlfAssertedAttributeProvider? If so, this is how it is done in the LocalAccounts starter pack (copied from TrustFrameworkBase.xml):
<OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin">
<ClaimsProviderSelections>
<ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" />
</ClaimsProviderSelections>
<ClaimsExchanges>
<ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" />
</ClaimsExchanges>
</OrchestrationStep>
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
Thanks for your answer. I have already been through the links you have provided before posting here. I wrote my custom policy solution using the <ValidationTechnicalProfiles>
– Aman Mohammed
Apr 1 at 13:52
Until you provide more details then, it's not possible to help. For example, what does your UJ look like, what validation profiles are used etc. What is expected behavior and what is actual - i.e. the difference between what you want and what you're getting. Then it's easier to suggest an answer.
– Omer Iqbal
Apr 2 at 3:37
add a comment
|
Are you trying to show a sign-in screen which has a link "Sign-up" that allows user to sign-up using SerlfAssertedAttributeProvider? If so, this is how it is done in the LocalAccounts starter pack (copied from TrustFrameworkBase.xml):
<OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin">
<ClaimsProviderSelections>
<ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" />
</ClaimsProviderSelections>
<ClaimsExchanges>
<ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" />
</ClaimsExchanges>
</OrchestrationStep>
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
Are you trying to show a sign-in screen which has a link "Sign-up" that allows user to sign-up using SerlfAssertedAttributeProvider? If so, this is how it is done in the LocalAccounts starter pack (copied from TrustFrameworkBase.xml):
<OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin">
<ClaimsProviderSelections>
<ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" />
</ClaimsProviderSelections>
<ClaimsExchanges>
<ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" />
</ClaimsExchanges>
</OrchestrationStep>
<OrchestrationStep Order="2" Type="ClaimsExchange">
<Preconditions>
<Precondition Type="ClaimsExist" ExecuteActionsIf="true">
<Value>objectId</Value>
<Action>SkipThisOrchestrationStep</Action>
</Precondition>
</Preconditions>
<ClaimsExchanges>
<ClaimsExchange Id="SignUpWithLogonEmailExchange" TechnicalProfileReferenceId="LocalAccountSignUpWithLogonEmail" />
</ClaimsExchanges>
</OrchestrationStep>
answered Apr 1 at 4:34
Omer IqbalOmer Iqbal
1,9136 silver badges11 bronze badges
1,9136 silver badges11 bronze badges
Thanks for your answer. I have already been through the links you have provided before posting here. I wrote my custom policy solution using the <ValidationTechnicalProfiles>
– Aman Mohammed
Apr 1 at 13:52
Until you provide more details then, it's not possible to help. For example, what does your UJ look like, what validation profiles are used etc. What is expected behavior and what is actual - i.e. the difference between what you want and what you're getting. Then it's easier to suggest an answer.
– Omer Iqbal
Apr 2 at 3:37
add a comment
|
Thanks for your answer. I have already been through the links you have provided before posting here. I wrote my custom policy solution using the <ValidationTechnicalProfiles>
– Aman Mohammed
Apr 1 at 13:52
Until you provide more details then, it's not possible to help. For example, what does your UJ look like, what validation profiles are used etc. What is expected behavior and what is actual - i.e. the difference between what you want and what you're getting. Then it's easier to suggest an answer.
– Omer Iqbal
Apr 2 at 3:37
Thanks for your answer. I have already been through the links you have provided before posting here. I wrote my custom policy solution using the <ValidationTechnicalProfiles>
– Aman Mohammed
Apr 1 at 13:52
Thanks for your answer. I have already been through the links you have provided before posting here. I wrote my custom policy solution using the <ValidationTechnicalProfiles>
– Aman Mohammed
Apr 1 at 13:52
Until you provide more details then, it's not possible to help. For example, what does your UJ look like, what validation profiles are used etc. What is expected behavior and what is actual - i.e. the difference between what you want and what you're getting. Then it's easier to suggest an answer.
– Omer Iqbal
Apr 2 at 3:37
Until you provide more details then, it's not possible to help. For example, what does your UJ look like, what validation profiles are used etc. What is expected behavior and what is actual - i.e. the difference between what you want and what you're getting. Then it's easier to suggest an answer.
– Omer Iqbal
Apr 2 at 3:37
add a comment
|
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55401624%2fazure-custom-policy-b2c-orchestration-step%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown