hi team, i've configured arise phoenix on Azure via a container app, at the beginning it worked fine, it start failing with random images after the SSO enablement via Azure Entra ID. Either it gives you an error like "something went wrong" or another related with the error AADSTS54005: How i can debug this? or do you have any tips to check? Many thanks!
It seems likely that the issue you're experiencing with Phoenix on Azure after enabling SSO via Azure Entra ID could be related to the configuration of the OAuth2 identity provider. My understanding is that Phoenix supports login via third-party identity providers, including Microsoft Entra ID, using the OAuth2 authorization code flow. This requires setting specific environment variables such as PHOENIX_OAUTH2_MICROSOFT_ENTRA_ID_CLIENT_ID, PHOENIX_OAUTH2_MICROSOFT_ENTRA_ID_CLIENT_SECRET, and PHOENIX_OAUTH2_MICROSOFT_ENTRA_ID_OIDC_CONFIG_URL (source).To debug the issue, you might want to verify that these environment variables are correctly set and that the redirect URIs are properly configured in your Azure portal. Additionally, ensure that the well-known configuration endpoint is accessible and correctly set up. If the error persists, checking the logs for any specific error messages related to the OAuth2 flow or the AADSTS54005 error could provide more insights. Would you like more detailed steps on how to verify these configurations? Sources:
- Phoenix Authentication Setup
馃挕聽Hint: Mention RunLLM in the thread for followups.
yes and no 馃檪 all of that i've rechecked twice. It works at first but then randomly gives that error, if where some issue with the configuration should not work from the beginning.
Do you notice any patterns in when the issue arises? Like after the app has been untouched for a while?
When do you hit the two screens above? When trying to log in, or when you're already in the app?
