Getting 404 in Angular app while redirecting with login/callback

Getting 404 in Angular app on higher environments like dev,stage,prod,etc while redirecting with login/callback but content downloads and in local it seems to be working fine.

Need help on the same!

@simone I saw in one of your posts that you faced this issue earlier, could you please help me out on the same!

Hi @shaileshkumar

Welcome to the community!

You’ll need to configure web servers for SPAs. This is already built in when you run ng serve but it’s a required step for deployed SPAs.

Check out these resources from the Angular team

Here are examples by web servers

Hope this helps!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.