Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@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 474 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.