Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aspire shuts down after I authenticate myself in react app using msal with azure b2c #6979

Open
1 task done
coodin opened this issue Dec 21, 2024 · 0 comments
Open
1 task done

Comments

@coodin
Copy link

coodin commented Dec 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

hi, I have added an asp.net core api and some other projects for db migrations and a background service to update the migration during app startup and also an react app which is using msal with azure b2c so my problem is as soon as I authenticate myself with react app, the aspire project shuts down with this error "The program '[20160] ECommerce.AppHost.exe' has exited with code 4294967295 (0xffffffff).
The program '[6164] ECommerce.Api.exe' has exited with code 4294967295 (0xffffffff)." so I have looked the stackOverflow to find a solution but actually don't know how to solve my solution accoridn to their answers because their solution always related with docker but I am using aspire and I am not able to solve it with docker. I hope my problem is clear to you.Thanks for support

Expected Behavior

so I am expecting to myReact app to work seamlessly after I authenticate using msal with azureb2c

Steps To Reproduce

https://github.com/coodin/EcommerceWithAspire/tree/main

Exceptions (if any)

The program '[20160] ECommerce.AppHost.exe' has exited with code 4294967295 (0xffffffff).
The program '[6164] ECommerce.Api.exe' has exited with code 4294967295 (0xffffffff).

.NET Version info

.NET SDK:
Version: 9.0.101
Commit: eedb237549
Workload version: 9.0.100-manifests.4a280210
MSBuild version: 17.12.12+1cce77968

Anything else?

I am using microsoft visual studio
Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.12.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant