Localhost:3000 for ad b2c Unified sign up or sign in page for signup and signin user flow

2023-02-14T08:38:53.8166667+00:00

I am trying to implement a custom page for Azure AD b2c signup signin userflows using localhost:3000 ( Custom page URI ) using react. I am facing a few issues. i.e I am able to run the code locally and UI works perfectly fine but when i use localhost:3000 as the Custom page URI and i am facing 404 error and error in manifest row 1 and column 1.
I am not sure what is it that i am missing . Please let me know your valuable feedback

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,918 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
3,091 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,760 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,671 Reputation points
    2023-02-14T15:34:58.0366667+00:00
    
    Hello,
    
    Most likely because you don't have any route for handling http:// localhost : 3000/
    
    You have only static file handler which means this url would probably work http:// localhost: 3000 /index.html
    
    If you want to access your web at http:// localhost : 3000/ then add this
    
    app.get('/', function(req, res){
        res.sendFile(__dirname+'/bin/index.html'); // change the path to your index.html
    });
    
    --If the reply is helpful, please Upvote and Accept as answer--
    
    0 comments No comments

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.