Skip to content

Commit c3ac605

Browse files
velimir-jankoviclucen-ms
authored andcommitted
Clarify debug auth env variables. (microsoft#13)
1 parent bd696be commit c3ac605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/ENVIRONMENT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ To emulate Azure Blob Storage locally. Azurite needs to be installed and running
3939
### Debugging
4040

4141
- `LOGGING`: Turn on CodePush-specific logging of API and Storage requests. If this is insufficient, Azure Storage and Express also have their own configurable logging features.
42-
- `DEBUG_DISABLE_AUTH`: Disable the OAuth autentication route, allowing you to make requests as anybody without authorizing. Do not set this without going through the proper channels (see section Disabling Auth)
43-
- `DEBUG_USER_ID`: Backend id of user to behave as during the debugging session
42+
- `DEBUG_DISABLE_AUTH`: Set to 'true' to skip authentication and impersonate existing user. When set, server uses `DEBUG_USER_ID` as logged in user for all requests requiring authentication.
43+
- `DEBUG_USER_ID`: Backend id of existing user to impersonate when `DEBUG_DISABLE_AUTH` is set to 'true'. Default value: 'default'.
4444

4545
### Redis
4646
To enable the Redis caching layer, set:

0 commit comments

Comments
 (0)