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

auth key must start with REACT_APP for safety crutiny , now auth key is REACT_APP_QUOTES_API_KEY #124

Closed
wants to merge 1 commit into from

Conversation

Sushanth-Hebri
Copy link

@Sushanth-Hebri Sushanth-Hebri commented Jun 15, 2024

closes #114

Auth key must start with prefix of REACT_APP for custom key there is different wired configuration.
now auth key for quotes is REACT_APP_QUOTES_API_KEY

Copy link

vercel bot commented Jun 15, 2024

@Sushanth-Hebri is attempting to deploy a commit to the avdheshvarshney's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

@@ -13,7 +13,7 @@ const QuoteSection = () => {
try {
const response = await fetch("https://api.yourquoteapi.com/quotes?author=Chanakya", {
headers: {
"Authorization": `4fe303f4bamshb97ef5b1dd575e0p1ccc51jsnd9644d3c587b`
'Authorization': process.env.REACT_APP_QUOTES_API_KEY
Copy link
Owner

Choose a reason for hiding this comment

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

@Sushanth-Hebri REACT name in key is not working in production. That's why i told you to change the name to QUOTES_API_KEY

Copy link
Owner

@Avdhesh-Varshney Avdhesh-Varshney Jun 19, 2024

Choose a reason for hiding this comment

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

@Sushanth-Hebri are you working on it? do it within 1 day.

@Avdhesh-Varshney Avdhesh-Varshney added bug 🐛 Something isn't working Requested Changes ⚙️ Some changes have been requested in this PR labels Jun 16, 2024
Copy link

vercel bot commented Jun 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chanakya ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2024 3:58am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working inactive ⌛ Because of inactivity. Requested Changes ⚙️ Some changes have been requested in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛: Authorization token exposed , sol : authorize token via ENV
2 participants