microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
360 stars 29 forks source link

Aspire Authorization: Microsoft Entra External ID #1236

Open aitrailblazer opened 1 month ago

aitrailblazer commented 1 month ago

Please provide us with the following information:

Losing the socket connection.

I followed:

https://learn.microsoft.com/en-us/training/modules/create-aspire-applications/learn-how-create-new-aspire-application

How to add Authorization with External ID?

Overview - External ID in external tenants - Microsoft Entra External ID | Microsoft Learnhttps://learn.microsoft.com/en-us/entra/external-id/customers/overview-customers-ciam Secure your apps using External ID in an external tenant

This issue is a: (mark with an x)

Issue description

When Microsoft Entra External ID Authorization is added the demo app loses interactivity (Counter) is not working and there is a browser message the socket loses connection.

Expected behavior [What you expected to happen.]

Adding Microsoft supported Authorization should be working.

Actual behavior [What actually happened.]

Doesn't works at all

image

Additional context

This happens when uploaded to Azure.

anthonychu commented 1 month ago

Possibly related #812

snehapar9 commented 1 month ago

@aitrailblazer fix for this issue has been rolled out. Please let us know if you still encounter this. Thanks!

aitrailblazer commented 1 week ago

Please refer to a link how to do that?

aitrailblazer commented 1 week ago

I'm getting the same error, there is no interactivity on the Counter and WebSocket Error

snehapar9 commented 2 days ago

@aitrailblazer is this related to accessing the Aspire dashboard? Can you please provide steps you took to enable Aspire dashboard and access it?

aitrailblazer commented 2 days ago

This is related to Aspire deployment to container and impossible to use Microsoft Entra External ID. Can Aspire be deployed as Web App?

snehapar9 commented 1 day ago

This does not seem like a container apps issue. Can you please post here and link this issue? @davidfowl @drewnoakes @joperezr

aitrailblazer commented 1 day ago

I posted it there too https://github.com/dotnet/aspire/issues/5579