feat: add guards to stripe teams controller (#20540)

* feat: add guards to stripe teams controller

* remove logs and comments

* fix return type status

* refactor: move PlatformSubscription to a dedicated module

* reroute to `organizations/stripe/save` for teams

* fix: type errors

* feat: fixed it for conferencing apps

* feat: Add error handling and fallback URL support in Stripe callback

* Refactor OAuth callback handling and move token validation to service layer

* Add documentation for OAuth callback proxying in conferencing and stripe controllers

* Move OAuthCallbackState type from organizations to stripe service module
This commit is contained in:
Somay Chauhan authored and GitHub committed 2025-04-17 16:36:31 +00:00
1 parent 11a41e0e39
commit 59ab38db98
28 files changed
+999 -494

No files matched your search

+12
View File
@@ -2305,6 +2305,7 @@ __metadata:
"@golevelup/ts-jest": ^0.4.0
"@microsoft/microsoft-graph-types-beta": ^0.42.0-preview
"@nest-lab/throttler-storage-redis": 1.0.0
"@nestjs/axios": ^4.0.0
"@nestjs/bull": ^10.1.1
"@nestjs/cli": ^10.0.0
"@nestjs/common": ^10.0.0
@@ -7681,6 +7682,17 @@ __metadata:
languageName: node
linkType: hard
"@nestjs/axios@npm:^4.0.0":
version: 4.0.0
resolution: "@nestjs/axios@npm:4.0.0"
peerDependencies:
"@nestjs/common": ^10.0.0 || ^11.0.0
axios: ^1.3.1
rxjs: ^7.0.0
checksum: ab05bc772a7ad45e3ea79ea3acd04e6971d17495387d543b3e17355d0f4164982c20ed830eab48e8c7373546259b50ff770708c176832716f4fd126142d18ca7
languageName: node
linkType: hard
"@nestjs/bull-shared@npm:^10.1.1":
version: 10.1.1
resolution: "@nestjs/bull-shared@npm:10.1.1"