fix(sdk): remove the legacy ts_idpclient package and switch app integrations to @idp.global/sdk

This commit is contained in:
2026-05-18 16:00:28 +00:00
parent 91f06ccae1
commit b31a10b48b
17 changed files with 666 additions and 1360 deletions
@@ -18,8 +18,8 @@ As a developer, I want comprehensive documentation for the IDP client SDK so tha
- [ ] Interactive API playground/sandbox
## Technical Notes
- `ts_idpclient/` contains the client SDK
- README.md has basic usage but needs expansion
- `@idp.global/sdk` contains the browser and server SDK surfaces
- The SDK README has basic usage but needs expansion
- Generate API docs from TypeScript using TypeDoc
- Host documentation on dedicated site or GitHub pages
- Consider OpenAPI/Swagger spec for REST endpoints
+2 -2
View File
@@ -18,7 +18,7 @@ As a developer, I want to properly register my application with a unique App ID
- [ ] Delete/deactivate applications
## Technical Notes
- Current client has `id: ''` placeholder (TODO in code)
- SDK clients should receive app identity from the registered application model instead of hard-coded placeholders
- App ID is now part of the unified Apps model (`IApp` discriminated union)
- Three app types exist: Global Apps, Partner Apps, Custom OIDC Apps
- For custom applications, use the Custom OIDC Apps flow (ORG-011)
@@ -41,4 +41,4 @@ The Apps system supports three types:
- DEV-008: Submit App to AppStore
## Related TODOs
- `ts_idpclient/classes.idpclient.ts:30` - `id: '', // TODO`
- Keep app identity initialization aligned with the shared `@idp.global/sdk` client configuration.
+1 -2
View File
@@ -8,7 +8,7 @@ For reporting bugs, issues, or security vulnerabilities, please visit [community
## Scope
These stories are planning and product-discovery notes for the app repository. They are not API documentation and should be read alongside the current source in `ts/`, `ts_web/`, `ts_idpclient/`, `ts_idpcli/`, and the sibling `@idp.global/interfaces` package.
These stories are planning and product-discovery notes for the app repository. They are not API documentation and should be read alongside the current source in `ts/`, `ts_web/`, `ts_idpcli/`, the sibling `@idp.global/interfaces` package, and `@idp.global/sdk`.
## Directory Structure
@@ -97,7 +97,6 @@ Stories derived from code TODOs reference these files:
- `ts/reception/classes.jwtmanager.ts:40,52`
- `ts/reception/classes.loginsessionmanager.ts:229-238,256`
- `ts/reception/classes.billingplan.ts:16`
- `ts_idpclient/classes.idpclient.ts:30`
## License and Legal Information