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

Move to using cookies for auth #8

Merged
merged 2 commits into from
Feb 17, 2020
Merged

Move to using cookies for auth #8

merged 2 commits into from
Feb 17, 2020

Conversation

shortcircuit3
Copy link
Contributor

Use cookies instead of redis for auth. This will keep auth on the persons computer.

@vercel
Copy link

vercel bot commented Feb 17, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/flowerpotdelta/delta/8x4y84n90
✅ Preview: https://delta-git-cookies.flowerpotdelta.now.sh

const org = await request
.get(`https://api.github.com/orgs/${ctx.query.org}`)
.set('User-Agent', 'Delta')
.auth('ee508729e6002c32d53b', 'e8ed912f2b6fdcccbef5aecfcfb23a1d4b3dea13')
.auth(GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET)
Copy link
Member

Choose a reason for hiding this comment

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

did we roll these?

Copy link
Contributor Author

@shortcircuit3 shortcircuit3 Feb 17, 2020

Choose a reason for hiding this comment

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

Roll? like delete?

I cleated a new oauth app in the flowerpot org, and those keys were not committed to github.

These keys are from the app on my personal account which has been depricated

@shortcircuit3 shortcircuit3 merged commit e2ffc22 into master Feb 17, 2020
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.

None yet

2 participants