React app deploying in azure app services

2022-01-25T18:17:03.057+00:00

Hi all,

i am going to deploy react JS application in azure app services, my requirement is , all configuration related information i want to fetch from app service configuration settings i.e i dont want to keep any configuration code example clientID, client secret in react js application code.

how i can achieve this?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,895 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jaliya Udagedara 2,731 Reputation points MVP
    2022-01-26T08:04:36.09+00:00

    You can use App Configuration client library for JavaScript. This should help.

    0 comments No comments

  2. SnehaAgrawal-MSFT 18,361 Reputation points
    2022-01-27T12:56:53.777+00:00

    Thanks for asking question! As mentioned by JaliyaUdagedara you can use:
    https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration

    Further you may want to know that Azure App Configuration provides a service to centrally manage application settings and feature flags. Modern programs, especially programs running in a cloud, generally have many components that are distributed in nature. Spreading configuration settings across these components can lead to hard-to-troubleshoot errors during an application deployment. Use App Configuration to store all the settings for your application and secure their accesses in one place.

    Click to know: Why use App Configuration and benefits.

    More details: https://azure.microsoft.com/en-us/services/app-configuration/#overview

    Let us know if further query or issue remains.

    0 comments No comments