Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@a-type/auth
Advanced tools
My personal library for API authentication.
Designed to plug into itty-router based servers.
This library has some opinions about what a user is.
A user has:
This library powers OAuth-based login flows with specified providers.
It also enables an email login flow with email+password, including email verification and password resets.
The email flow is fairly opinionated.
First, submit a request handled by handlers.handleSendEmailVerificationRequest
to verify the user owns the email. They must provide email and name (fullName).
This creates an email verification token in the database and sends them an email with a code.
The user then clicks the link in the email to return to the app with the code. Upon presenting the code, they must then choose a password. The code and password are sent back to the server to the handlers.handleVerifyEmailRequest
handler. This creates the user's account and identity on the server and sets up email login.
Password reset works fairly similarly - send a request to send the password reset email, get the code, return and set a new password.
FAQs
My personal auth request handlers
The npm package @a-type/auth receives a total of 585 weekly downloads. As such, @a-type/auth popularity was classified as not popular.
We found that @a-type/auth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.