-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Billing #2667
base: multi_tenant_vespa
Are you sure you want to change the base?
Billing #2667
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
a57e25b
to
1fad25e
Compare
2ba73ed
to
45b1ff7
Compare
009a27b
to
c35251b
Compare
a3623ab
to
05fd2a4
Compare
f6ad21e
to
7e4f33f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR introduces comprehensive billing functionality and multi-tenant support to the DAnswer system, integrating Stripe for payment processing and enhancing user management capabilities.
- Implemented Stripe integration for subscription management in
backend/ee/danswer/server/tenants/api.py
andweb/src/app/ee/admin/cloud-settings/BillingInformationPage.tsx
- Added new Cloud Settings admin page in
web/src/app/ee/admin/cloud-settings/page.tsx
for managing billing information - Modified PostgreSQL port from 5432 to 5433 in Docker Compose files and
backend/danswer/configs/app_configs.py
- Enhanced multi-tenant support with new functions in
backend/danswer/auth/users.py
andbackend/danswer/server/manage/users.py
- Hardcoded
CLOUD_ENABLED
totrue
inweb/src/lib/constants.ts
, potentially affecting cloud-related features
22 file(s) reviewed, 9 comment(s)
Edit PR Review Bot Settings
10a97cf
to
e0f4e1f
Compare
JWT-based authentication:
SECRET_JWT_KEY
for encrypting user/tenant contextJWT_ALGORITHM
(HS256) for token signingInter-service communication security:
DATA_PLANE_SECRET
secures control plane and data plane communicationAPI access control:
EXPECTED_API_KEY
required in headers for control plane API accessStripe integration for secure billing: