mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-15 17:09:08 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
301b6e98ec | ||
|
|
ba53934068 |
@@ -94,6 +94,8 @@ spec:
|
|||||||
value: {{ .Values.maestro.open_group_id }}
|
value: {{ .Values.maestro.open_group_id }}
|
||||||
- name: DEDICATED_PROXY
|
- name: DEDICATED_PROXY
|
||||||
value: {{ .Values.maestro.dedicated_proxy }}
|
value: {{ .Values.maestro.dedicated_proxy }}
|
||||||
|
- name: COOKIE_SECRET
|
||||||
|
value: {{ .Values.maestro.cookie_secret }}
|
||||||
- name: REDIS_DATABASE
|
- name: REDIS_DATABASE
|
||||||
value: "{{ .Values.maestro.redis_database }}"
|
value: "{{ .Values.maestro.redis_database }}"
|
||||||
- name: REDIS_HOST
|
- name: REDIS_HOST
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ maestro:
|
|||||||
tr_factory_url: in-factory.stg.dadosfera.ai
|
tr_factory_url: in-factory.stg.dadosfera.ai
|
||||||
open_customer_id: b3e3dfe5-b992-4586-a73c-c0b0c00f615d
|
open_customer_id: b3e3dfe5-b992-4586-a73c-c0b0c00f615d
|
||||||
open_group_id: e3f98a2f-7748-4981-8505-7695c8ca8218
|
open_group_id: e3f98a2f-7748-4981-8505-7695c8ca8218
|
||||||
|
cookie_secret: "ff7bc13823edb2ae50d248e5780bddc9d4b31c36"
|
||||||
|
|
||||||
hostname: maestro.stg.dadosfera.ai
|
hostname: maestro.stg.dadosfera.ai
|
||||||
|
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ maestro:
|
|||||||
redis_host: "product-redis-prd.z4xvqj.0001.use1.cache.amazonaws.com"
|
redis_host: "product-redis-prd.z4xvqj.0001.use1.cache.amazonaws.com"
|
||||||
redis_port: "6379"
|
redis_port: "6379"
|
||||||
redis_database: "0"
|
redis_database: "0"
|
||||||
|
cookie_secret: "13cc5e136d3074bcc05bec8697092ec1f5f376bf"
|
||||||
autoscaling:
|
autoscaling:
|
||||||
enabled: false
|
enabled: false
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
|
|||||||
Vendored
+1
@@ -15,6 +15,7 @@ declare global {
|
|||||||
OPEN_GROUP_ID: string;
|
OPEN_GROUP_ID: string;
|
||||||
OPEN_CUSTOMER_ID: string;
|
OPEN_CUSTOMER_ID: string;
|
||||||
DEDICATED_PROXY: string;
|
DEDICATED_PROXY: string;
|
||||||
|
COOKIE_SECRET: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -572,7 +572,7 @@ export class AuthController {
|
|||||||
|
|
||||||
this.logger.info('Set Cookie ddf-auth')
|
this.logger.info('Set Cookie ddf-auth')
|
||||||
res.cookie('ddf-auth', data.accessToken, {
|
res.cookie('ddf-auth', data.accessToken, {
|
||||||
domain: 'dadosfera.ai',
|
domain: 'stg.dadosfera.ai',
|
||||||
maxAge: exp,
|
maxAge: exp,
|
||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
secure: true,
|
secure: true,
|
||||||
@@ -583,7 +583,7 @@ export class AuthController {
|
|||||||
if (data.refreshToken) {
|
if (data.refreshToken) {
|
||||||
this.logger.info('Set Cookie ddf-refresh-auth')
|
this.logger.info('Set Cookie ddf-refresh-auth')
|
||||||
res.cookie('ddf-refresh-auth', data.refreshToken, {
|
res.cookie('ddf-refresh-auth', data.refreshToken, {
|
||||||
domain: 'dadosfera.ai',
|
domain: 'stg.dadosfera.ai',
|
||||||
maxAge: exp,
|
maxAge: exp,
|
||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
secure: true,
|
secure: true,
|
||||||
@@ -594,7 +594,7 @@ export class AuthController {
|
|||||||
if (data.userId) {
|
if (data.userId) {
|
||||||
this.logger.info('Set Cookie ddf-refresh-auth')
|
this.logger.info('Set Cookie ddf-refresh-auth')
|
||||||
res.cookie('ddf-user-id', data.userId, {
|
res.cookie('ddf-user-id', data.userId, {
|
||||||
domain: 'dadosfera.ai',
|
domain: 'stg.dadosfera.ai',
|
||||||
maxAge: exp,
|
maxAge: exp,
|
||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
secure: true,
|
secure: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user