Web App requires authentication(Open AI)

LeRoy, Kevin 65 Reputation points
2023-10-23T21:34:43.9166667+00:00

A web app requires authentication configuration.
My question is, how come other web apps with no authentication configuration work and this one doesn't?
I've been doing some research and I see that the image says Azure AI but I would like to confirm if Open AI enforces authentication.
I've been unable to find documentation that says that.

The other apps that work without authentication are not related to Open AI.

Hope you can help me.

aScreenshot 2023-10-23 153154

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,512 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,240 questions
{count} votes

Accepted answer
  1. Saurabh Sharma 23,776 Reputation points Microsoft Employee
    2023-10-24T18:20:24.3633333+00:00

    Hi @LeRoy, Kevin

    Welcome to Microsoft Q&A! Thanks for posting the question.

    I believe you have deployed this web application using Azure Open AI Chat Playground which provides ability to deploy the chat interface as a web app which includes the authentication configuration and thus you are seeing the above page. Once after the deployment (as stated in the shared screenshot) you need to wait for some time for the authentication configuration to be completed. After that you should be able to see the below page -

    User's image

    Once accepted you should be able to see the below use the web application (see screenshot below)-

    User's image

    However, if you don't want to use the authentication, then you need to customize the web application using the web application source code shared over here and you will be updating the logic in getUserInfoList in frontend/src/pages/chat/Chat.tsx to disable the authorization check like below:

    
    const getUserInfoList = async () => {
            setShowAuthMessage(false);
    }
    

    Then you need to deploy the web application to Azure portal for your purpose.

    Please let me know if you have any other questions.

    Thanks

    Saurabh


    Please 'Accept as answer' and Upvote if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful