-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ACA deployment does not configure built-in auth #2181
Comments
It seems to me that the application's behavior has changed, requiring users to log in via the "Login" button located at the top-right corner. Is that correct? If so, I’m not sure this change improves the user experience. |
The new default deployment environment is ACA, which we didnt configure "built-in auth" for. We could set that up for ACA, though I was thinking of removing it entirely, since it's somewhat redundant with our use of the MSAL SDKs for authentication. |
This solution doesn’t quite work for my project for two main reasons. First, the application is currently accessible to everyone, even users who aren’t logged in, which we can’t allow. Second, our users shouldn’t have to search for the login button—they should be able to log in through the familiar Microsoft login screen to keep things secure and user-friendly. For now, I’ll switch back to using an App Service. |
Got it. I can add the ACA built-in auth configuration. I'll work on that shortly. |
When I use the command:
I encounter the following error during deployment:
It seems like there's a mismatch between the deployed resource type (Microsoft.Web/sites) and the expected resource type (Microsoft.App/containerApps) for the backend service. To troubleshoot, I’ve already taken the following steps:
Despite this, the issue persists. Any insights on how to resolve this? |
Did you do step 1, the commenting out in azure.yaml? |
You’re right—I missed that step. I assumed the earlier steps were the same as before. Thanks for pointing it out! |
@jeannotdamoiseaux If you're curious, my branch for ACA built-in auth is here: We've run into an issue with the token store configuration as it requires a blob storage account URL using a storage account SAS URL, which isn't a security best practice, so we're in discussion with ACA team to see if there are other options. |
This issue is for a: (mark with an
x
)The authentication setup process completes without any visible errors, but the login screen does not appear before the application opens.
This functionality was working correctly for me in previous versions or deployments.
Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
azd version?
Instead the following information is shown in the chat input bar:
The text was updated successfully, but these errors were encountered: