- Make sure
FEATURES.ENABLE_OAUTH2_PROVIDERis set to
- Follow the Configure the LMS section of Test Your E-Commerce Application steps 1–9, see setting changes below. Skip the step for starting the app server, since it's already started.
- Follow the Configure E-Commerce section of Test Your E-Commerce Application steps 1–8, see setting changes below. Instead of starting the app server, reboot the server before trying to access E-Commerce so the settings can take effect.
For configuring E-Commerce to talk to the LMS, you'll need to use a fully qualified domain name or IP address assigned to your machine. In this case, assuming we're using a machine with the IP address of 192.168.33.10.
"ECOMMERCE_API_URL": "http://192.168.33.10:18130/api/v2" "ECOMMERCE_PUBLIC_URL_ROOT": "http://192.168.33.10:18130" "JWT_ISSUER": "http://192.168.33.10/oauth2" "OAUTH_OIDC_ISSUER": "http://192.168.33.10/oauth2"