Skip to content

Feat/add gpc auth middleware#14

Merged
Natan-Lucena merged 4 commits intomainfrom
feat/add-gpc-auth-middleware
Mar 19, 2025
Merged

Feat/add gpc auth middleware#14
Natan-Lucena merged 4 commits intomainfrom
feat/add-gpc-auth-middleware

Conversation

@Natan-Lucena
Copy link
Copy Markdown
Contributor

No description provided.

devtorello
devtorello previously approved these changes Mar 19, 2025
@Natan-Lucena Natan-Lucena merged commit 8c7897f into main Mar 19, 2025
5 checks passed
@Natan-Lucena Natan-Lucena deleted the feat/add-gpc-auth-middleware branch March 19, 2025 18:13

export function gcpAuthenticationMiddleware(
oauth2Client: OAuth2Client,
config: { audience: string; pubSubServiceAccountEmail: string }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acho que como a Tati falou aqui dá pra colocar algo mais genérico que não seja específico pra PubSub @Natan-Lucena

config: { audience: string; pubSubServiceAccountEmail: string }
) {
const AUDIENCE = config.audience;
const GCP_SERVICE_ACCOUNT_EMAIL = config.pubSubServiceAccountEmail;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acho que como a Tati falou aqui dá pra colocar algo mais genérico que não seja específico pra PubSub @Natan-Lucena

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants