
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
hapi-auth-facebook
Advanced tools
:+1: Easy Facebook Authentication for Hapi Apps
Facebook Hapi plugin with detailed documentation.
Facebook authentication is used everywhere! We wanted to create a reusable Hapi Plugin with readable code.
A simple and easy Hapi plugin that gives you Facebook OAuth Authentication in a few steps.
If you're new to Hapi, check out: https://github.com/dwyl/learn-hapi
A guide for how we built an app to login with facebook with no prior knowledge.
Go to developers.facebook.com/apps
...after logging in to your facebook account, you can 'Register Now' for a developer account.
On this page, you can click the button in the top right to quickly access your app's id.
Here you can specify your app's name (doesn't have to be unique!)
Note: Copy the App ID and the Secret into your .env
file.
Inside the facebook app's advanced settings, specify the redirect URI near the bottom of the page:
Note: the redirect URI has to be an absolute URI - make sure you include the http://
prefix.
In your hapi server, make a request to the following url specifying your individual app-id
and redirect-uri
FAQs
Simple Facebook Authentication for Hapi.js Apps
We found that hapi-auth-facebook demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.