Skip to content
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

fix: temporarily disable auth #25

Merged

Conversation

gentlementlegen
Copy link
Member

No description provided.

@gentlementlegen gentlementlegen merged commit e9c72be into ubiquity-os-marketplace:main Aug 20, 2024
1 of 2 checks passed
Comment on lines +42 to +50
// TODO: temporarily disabled, should be added back with the proper key in the configuration.
// const signature = webhookPayload.signature;
// delete webhookPayload.signature;
// if (!(await verifySignature(env.UBIQUIBOT_PUBLIC_KEY, webhookPayload, signature))) {
// return new Response(JSON.stringify({ error: `Forbidden: Signature verification failed` }), {
// status: 403,
// headers: { "content-type": "application/json" },
// });
// }
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps we should just fully delete it. I don't see the need for this.

gentlementlegen added a commit to gentlementlegen/daemon-pricing that referenced this pull request Sep 23, 2024
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.

2 participants