Skip to content

Commit cf284b7

Browse files
authored
Merge pull request #124 from f5devcentral/update-node
chore: update npm packages
2 parents c9ccf36 + e2e1a00 commit cf284b7

File tree

7 files changed

+1570
-2552
lines changed

7 files changed

+1570
-2552
lines changed

FEATURES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ For full details for all fields see https://nginx.org/en/docs/http/ngx_http_acme
132132

133133
| Type | Description | API v5.4 | API v5.5 | Notes |
134134
|------|----------------------|----------|----------|-------------------------------------|
135-
| jwt | Java Web Token (JWT) | X | X | |
135+
| jwt | JSON Web Token (JWT) | X | X | |
136136
| mtls | Mutual TLS | X | X | <li>Supported for HTTP servers</li> |
137137
| oidc | OpenID Connect | X | X | <li>Supported for HTTP servers</li> |
138138

@@ -210,7 +210,7 @@ For additional details see https://nginx.org/en/docs/http/ngx_http_oidc_module.h
210210

211211
| Type | Description | API v5.4 | API v5.5 | Notes |
212212
|------|------------------------|----------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
213-
| jwt | Java Web Token (JWT) | X | X | Based on JWT claims. Supported under <li>.declaration.http.servers[]</li><li>.declaration.http.servers[].location[]</li><li>.declaration.http.servers[].location[].apigateway</li> |
213+
| jwt | JSON Web Token (JWT) | X | X | Based on JWT claims. Supported under <li>.declaration.http.servers[]</li><li>.declaration.http.servers[].location[]</li><li>.declaration.http.servers[].location[].apigateway</li> |
214214

215215
#### Examples
216216

contrib/postman/NGINX Declarative API.postman_collection.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

webui/IMPLEMENTATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ webui/
9494
|**Framework**|React 19|UI library|
9595
|**Language**|TypeScript|Type safety|
9696
|**Build Tool**|Vite|Fast dev server & build|
97-
|**Routing**|React Router v6|Client-side routing|
97+
|**Routing**|React Router v7|Client-side routing|
9898
|**State Management**|Zustand|Auth state|
9999
|**Server State**|TanStack Query|API state & caching|
100100
|**HTTP Client**|Axios|API requests|

webui/QUICKSTART.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,7 @@ Expected output:
4444

4545
Open browser: <http://localhost:3000>
4646

47-
### Step 4: Login
48-
49-
For development/testing, use any JWT token format:
50-
51-
```text
52-
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
53-
```
54-
55-
*Note: For production, configure proper JWT validation on the backend.*
56-
57-
### Step 5: Create Your First Configuration
47+
### Step 4: Create Your First Configuration
5848

5949
1. Click "Create Config" in navigation
6050
2. Edit the JSON declaration
@@ -158,16 +148,6 @@ lsof -i :3000
158148
./nginx-dapi.sh -c start
159149
```
160150

161-
### Authentication Fails
162-
163-
**Issue:** "Authentication failed" on login
164-
165-
**Check:**
166-
167-
1. Ensure JWT token is not empty
168-
2. For testing, any valid JWT format works
169-
3. For production, backend must validate the token
170-
171151
## 📱 Development Setup
172152

173153
Want to modify the Web UI?
@@ -201,7 +181,6 @@ Dev server runs at <http://localhost:3000> with auto-reload.
201181

202182
## 💡 Tips
203183

204-
- **JWT Token:** For development, you can generate tokens at <https://jwt.io>
205184
- **API Docs:** Visit <http://localhost:5000/docs> for interactive API documentation
206185
- **Templates:** Look in `webui/src/pages/CreateConfigPage.tsx` for example configurations
207186
- **Docker Compose:** See `contrib/docker-compose/docker-compose.yaml` for service configuration

webui/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ npm run test:coverage
186186
|Framework|React 19|
187187
|Language|TypeScript|
188188
|Build|Vite|
189-
|Routing|React Router v6|
189+
|Routing|React Router v7|
190190
|State|Zustand + TanStack Query|
191191
|HTTP|Axios|
192192
|Styling|CSS3 with custom properties|

0 commit comments

Comments
 (0)