# Getting 404 in Angular app while redirecting with login/callback

**URL:** <https://devforum.okta.com/t/getting-404-in-angular-app-while-redirecting-with-login-callback/30667>\
**Category:** Questions\
**Created:** [September 23, 2024, 7:27am UTC](https://devforum.okta.com/t/getting-404-in-angular-app-while-redirecting-with-login-callback/30667 "2024-09-23T07:27:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alisaduncan](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/alisaduncan/32/3429_2.png) [@alisaduncan](https://devforum.okta.com/u/alisaduncan)\
**Post date:** [September 23, 2024, 1:04pm UTC](https://devforum.okta.com/t/getting-404-in-angular-app-while-redirecting-with-login-callback/30667/2 "2024-09-23T13:04:09Z")

</div>

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

> **[Angular](https://angular.dev/tools/cli/deployment/)**
>
> The web development framework for building modern apps.

Here are examples by web servers

> **[Angular](https://v17.angular.io/guide/deployment#fallback-configuration-examples)**
>
> The web development framework for building modern apps.

Hope this helps!

---

_[View the full topic](https://devforum.okta.com/t/getting-404-in-angular-app-while-redirecting-with-login-callback/30667)._
