Skip to content

Instantly share code, notes, and snippets.

@saamerm
Created January 13, 2023 14:52
Show Gist options
  • Save saamerm/54d19beb8f9afb7b66a0ee35828adc14 to your computer and use it in GitHub Desktop.
Save saamerm/54d19beb8f9afb7b66a0ee35828adc14 to your computer and use it in GitHub Desktop.
# N.B. When changing this file, run this in the Terminal to load the updated values: 'npm run start -- --reset-cache'
NODE_ENV=development
# the URL to the GraphQL api
API_URL=https://sonesta-gateway-test.azure-api.net/member/graphql
API_URL_GUEST=https://sonesta-gateway-test.azure-api.net/guest/graphql
API_URL_HEALTHCHECK=https://sonesta-gateway-test.azure-api.net/healthcheck/v1.1/heartbeat
API_SUBSCRIPTION_KEY=5e60f927beb2407195a1ca72583c1507
# Auth 0 url
AUTH0_URL_AUTHENTICATE=https://auth.sonesta.com/co/authenticate
# use value cdp to enable cdp flow if not use Guestware as default
AUTH0_URL_AUTHORIZE=https://auth.sonesta.com/authorize
AUTH0_CLIENT_ID=FKrEvaRK4c3EPLbtR3vMb5nQBmL7a6Eh
AUTH0_REALM=Guestware
AUTH0_CRED_TYPE=http://auth0.com/oauth/grant-type/password-realm
AUTH0_ORIGIN=https://staging.sonesta.com
AUTH0_RESPONSE_TYPE=token id_token
AUTH0_REDIRECT_URL=https://staging.sonesta.com/callback
AUTH0_SCOPE=openid email profile user_metadata
AUTH0_STATE=AnC.9Vm~.GcANdHlwx16t2tbsFCCa3vm&nonce=Zk5KHQDVtpDp36FwJ6QeZiCPpIdeYEFs
AUTH0_RESPONSE_MODE=form_post
AUTH0_PROMPT=none
AUTH0_CLIENT=eyJuYW1lIjoiYXV0aDAuanMiLCJ2ZXJzaW9uIjoiOS4xOC4wIn0=
# Guest token
GUEST_URL_TOKEN=https://sonestaqa.us.auth0.com/oauth/token
GUEST_CLIENT_ID=eAH36dPVJLuW3EJRRhVS4YD0eW2nwOXn
GUEST_CLIENT_SECRET=kkR_PloxIU0nWkjEOksyubkIkvwk_mR19ZzvbrXZbtVjWXBALpqiwTobXhJCqVth
GUEST_AUDIENCE=https://sonesta-gateway-test.azure-api.net
GUEST_GRANT_TYPE=client_credentials
# Base Url
Base_URL_=https://make.sonesta.com/
# Toggle Features using ENABLE/DISABLE values
EDIT_RESERVATION_TOGGLE=DISABLE
CANCEL_RESERVATION_TOGGLE=ENABLE
FEEDBACK_TOGGLE = ENABLE
IS_CDP_ENABLED = DISABLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment