Skip to content

Conversation

furqanrydhan
Copy link
Contributor

Add in auth check to preHandler hook

  • auth logic is currently only gated for POST requests
  • checks to see if the x-shared-secret is the same as the THRIDWEB_API_KEY defined in env

this is meant to be a quick path for some auth gating

@zeet-co
Copy link

zeet-co bot commented Jul 19, 2023

We're building your pull request over on Zeet.
Click me for more info about your build and deployment.
Once built, this branch can be tested at: https://web3-api-akbv-fr-auth.chainsaw-dev.zeet.app before merging 😉

@farhanW3 farhanW3 merged commit 5eea93f into main Aug 3, 2023
@furqanrydhan furqanrydhan deleted the fr/auth branch August 23, 2023 08:44
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