You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clarify WebDAV authentication guidance: Basic Auth is for interactive user-based access while OAuth is for API clients and CI/CD, rather than labeling Basic Auth as generally "recommended".
Copy file name to clipboardExpand all lines: docs/guide/authentication.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -506,11 +506,14 @@ b2c scapi schemas list
506
506
507
507
## WebDAV Access
508
508
509
-
WebDAV is required for file upload operations (`code deploy`, `code watch`, `webdav` commands).
509
+
WebDAV is required for file upload operations (`code deploy`, `code watch`, `webdav` commands). There are two ways to authenticate, depending on who (or what) is connecting:
510
510
511
-
### Option A: Basic Authentication (Recommended)
511
+
-**Basic Authentication** — for individual developers using their own Business Manager account during interactive, local development.
512
+
-**OAuth** — for API clients and automation (CI/CD pipelines, scripts) where no human is logging in.
512
513
513
-
Use your Business Manager username and a WebDAV access key. These credentials provide better performance for file operations.
514
+
### Option A: Basic Authentication (user access)
515
+
516
+
Use your Business Manager username and a WebDAV access key. This is the simplest option for interactive, user-based access during local development.
514
517
515
518
1. In Business Manager, go to **Administration** > **Organization** > **Users**
If you prefer to use OAuth credentials for WebDAV (instead of basic auth), you must configure WebDAV Client Permissions:
531
+
For API clients and automation (CI/CD), use OAuth credentials instead of a user's basic auth. This requires configuring WebDAV Client Permissions for the API client:
529
532
530
533
1. Log in to Business Manager
531
534
2. Navigate to **Administration** > **Organization** > **WebDAV Client Permissions**
@@ -604,8 +607,8 @@ Add the JSON configuration shown in [OCAPI Configuration](#ocapi-configuration)
604
607
605
608
Either:
606
609
607
-
- Use your BM username + WebDAV access key (recommended), or
608
-
- Configure WebDAV Client Permissions for OAuth
610
+
- Use your BM username + WebDAV access key (for user-based, interactive development), or
611
+
- Configure WebDAV Client Permissions for OAuth (for API clients and CI/CD)
0 commit comments