Azure B2C: How to generate a link to the Sign-In page?

Term1te 41 Reputation points
2022-10-20T12:34:20.453+00:00

Good day!
I want to add a link on my Sign-Up and ForgottenPassword pages which will refer Sign-In page. I already know that I need to create custom markup and add JavaScript that will set the correct href to my link. Example: https://learn.microsoft.com/en-us/answers/questions/755343/azure-ad-b2c-signupsignin-combined-flow-link-from.html
I looked at how the Sign-In page links are generated for the Sign-Up and ForgottenPassword pages. Attached a screenshot below.

252369-redirects.png

I am currently unable to generate a valid link to the SignIn using $i2e.getRedirectLink() function. Does anyone know the correct function argument for the SignIn page? Or does getRedirectLink() not fit here at all?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,066 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2022-10-24T23:17:58.803+00:00

    Hello @Term1te and thanks for reaching out. The getRedirectLink function will provide a link to the Signup user flow as defined in the Metadata of a Self-asserted Technical Profile thus it won't be suitable for your case. You can, however, add a hard link.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.