From 842d1fed8576bdf4ba0b8af5a43a429c38b0f3b5 Mon Sep 17 00:00:00 2001 From: = <=> Date: Sat, 7 Aug 2021 21:12:40 -0700 Subject: [PATCH] Updated README to reflect environment variable renaming --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a5eb71..41cae3d 100644 --- a/README.md +++ b/README.md @@ -71,11 +71,11 @@ you will need to separately register OAuth 1.0a applications for the testing OpenStreetMap API vs. the main one, so they will have different `OSM_CLIENT_ID` and `OSM_CLIENT_SECRET` credentials. -- `CONSUMER_CALLBACK_URI` (required): as a security precaution, this API will currently +- `OSM_CONSUMER_CALLBACK_URI` (required): as a security precaution, this API will currently only send OAuth callback redirects to a URI (URL) defined by this environment variable. The callback URI defined by this variable will be appended with `access_token` and `refresh_token` URL parameters defining a JWT access token and a JWT refresh token for -use with protected `accessmap-api` endpoints. `CONSUMER_CALLBACK_URI` should therefore +use with protected `accessmap-api` endpoints. `OSM_CONSUMER_CALLBACK_URI` should therefore be a client URI such as an instance of `accessmap-webapp`, e.g. `http://localhost:3000/callback` in development mode.