@progalaxyelabs/ngx-stonescriptphp-client 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -19,6 +19,23 @@
|
|
|
19
19
|
- ✅ **Configurable**: Choose your auth strategy via environment config
|
|
20
20
|
- ✅ **All HTTP methods**: GET, POST, PUT, PATCH, DELETE with automatic token refresh
|
|
21
21
|
|
|
22
|
+
### Multi-Auth Server Support (NEW)
|
|
23
|
+
- ✅ **Multiple identity providers**: Authenticate against different auth servers (customer auth vs employee auth)
|
|
24
|
+
- ✅ **Runtime server switching**: Switch between auth servers dynamically
|
|
25
|
+
- ✅ **Per-request server selection**: Specify server for individual auth calls
|
|
26
|
+
- ✅ **Backward compatible**: Single-server config still works
|
|
27
|
+
- ✅ **Use case**: Shared admin platforms that accept both customer and employee logins
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
// Multi-server configuration
|
|
31
|
+
authServers: {
|
|
32
|
+
customer: { url: 'https://auth.progalaxyelabs.com', default: true },
|
|
33
|
+
employee: { url: 'https://admin-auth.progalaxyelabs.com' }
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
See [MULTI-AUTH-SERVER.md](MULTI-AUTH-SERVER.md) for complete documentation.
|
|
38
|
+
|
|
22
39
|
### Full-Page Authentication UI (NEW in v1.4.0)
|
|
23
40
|
- ✅ **AuthPageComponent**: Embeddable full-page auth with custom branding
|
|
24
41
|
- ✅ **Customizable Branding**: Logo, colors, gradients, app name, subtitle
|
|
@@ -52,7 +69,7 @@ authProviders: {
|
|
|
52
69
|
|
|
53
70
|
See [Configuration](#configuration) and [AUTH-PROVIDER-CONFIG.md](AUTH-PROVIDER-CONFIG.md) for details.
|
|
54
71
|
|
|
55
|
-
📖 **Documentation**: [CHANGELOG](docs/CHANGELOG.md) | [Auth Compatibility](docs/AUTH_COMPATIBILITY.md) | [Provider Config](AUTH-PROVIDER-CONFIG.md) | [Modal Auth Spec](MODAL-AUTH-SPEC.md)
|
|
72
|
+
📖 **Documentation**: [CHANGELOG](docs/CHANGELOG.md) | [Auth Compatibility](docs/AUTH_COMPATIBILITY.md) | [Provider Config](AUTH-PROVIDER-CONFIG.md) | [Modal Auth Spec](MODAL-AUTH-SPEC.md) | [Multi-Auth Server](MULTI-AUTH-SERVER.md)
|
|
56
73
|
|
|
57
74
|
---
|
|
58
75
|
|