# Hi everyone after my angular upgrade 20 and standalone getting callback issue

**URL:** <https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696>\
**Category:** OAuth/OIDC\
**Tags:** angular\
**Created:** [January 1, 2026, 2:39pm UTC](https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696 "2026-01-01T14:39:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![swami](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@swami](https://devforum.okta.com/u/swami)\
**Post date:** [January 1, 2026, 2:39pm UTC](https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696/1 "2026-01-01T14:39:07Z")

</div>

Hi recently i moved to a new project but after done my angular upgrade 20 and standalone i am getting callback issue but actually my local working very fine but test environment is getting this below error  
﻿GET /implicit/callback?c…NHi1tOjkPZg19ys6w:1 https:///callback?code=zxV\_hsTP5Zwjuo7uUFz…inY&state=YPfRW4u4puyV8Q50q2tp8iJ7j4zi8UPCu9luQWchnJhTLIENHi1tOjkPZg19ys6w 404 (Not Found)  
i don’t know whether its an angular upgrade issue or general issue let me know how can i fix and check in my local instead of try in environment

---

<div class="post-metadata">

**Author:** ![vk-giri](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/vk-giri/32/5178_2.png) [@vk-giri](https://devforum.okta.com/u/vk-giri)\
**Post date:** [January 5, 2026, 6:04am UTC](https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696/2 "2026-01-05T06:04:23Z")

</div>

I would check if the callback endpoint exists in prod, since it’s throwing a 404. Could you try navigating to your callback endpoint without any query params to check if the path exists?

---

<div class="post-metadata">

**Author:** ![swami](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@swami](https://devforum.okta.com/u/swami)\
**Post date:** [January 5, 2026, 6:52am UTC](https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696/3 "2026-01-05T06:52:07Z")

</div>

> [@swami](#):
>
> /implicit/callback

Hi @vk-giri thanks for responding i tried https:///implicit/callback without quary prams still i am getting similar error "ERROR : GET https:///implicit/callback 404 (Not Found) . what might be the issue and where to check.

---

<div class="post-metadata">

**Author:** ![vk-giri](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/vk-giri/32/5178_2.png) [@vk-giri](https://devforum.okta.com/u/vk-giri)\
**Post date:** [January 5, 2026, 7:38am UTC](https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696/4 "2026-01-05T07:38:44Z")

</div>

You would need to check on your app end why this page is not being fetched. Since the page should exist before the page can perform the code exchange with Okta.

---

<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:** [January 5, 2026, 3:58pm UTC](https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696/5 "2026-01-05T15:58:45Z")

</div>

Hi there @swami,

Welcome to the community!

Being able to run this locally, but not on your test environment, suggests a missing configuration in your test environment’s web server.

SPAs require routing rules when hosting prod builds on a web server. You’ll see the same 404 error on any deep routes, not just in the authentication callback. Dev servers normally handle the routing rules for us, so it’s not something we see during local development.

Check out the resources provided in this response. Your solution depends on your specific web server and environment.

> [@Getting 404 in Angular app while redirecting with login/callback](https://devforum.okta.com/t/getting-404-in-angular-app-while-redirecting-with-login-callback/30667/2):
>
> 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!

Happy coding!

---

<div class="post-metadata">

**Author:** ![swami](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@swami](https://devforum.okta.com/u/swami)\
**Post date:** [January 6, 2026, 9:09am UTC](https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696/6 "2026-01-06T09:09:00Z")

</div>

Hi @alisaduncan Thanks you so much for you response i shared you response to my infra team and asked them to configure . hope it will work ,

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 5, 2026, 9:09am UTC](https://devforum.okta.com/t/hi-everyone-after-my-angular-upgrade-20-and-standalone-getting-callback-issue/34696/7 "2026-02-05T09:09:29Z")

</div>

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