About:

pilcrow's personal website

Website:

Specializations:

Incoming Links:

Subscribe to RSS:
The text discusses the struggles of managing NPM releases and the author's solution to streamline the process. The author maintains two branches - main and next, where main holds the source code of the latest published version, wh...
The text is a letter to various OAuth providers, pointing out issues with their token endpoints and requesting fixes. The author also requests support for HTTP basic auth for client authentication.

0How I would do auth

2024-07-14

The post discusses the author's opinions on implementing authentication for a public-facing app, covering topics such as GitHub OAuth, password-based auth, session management, registration, email verification, login, 2FA, and pass...
The text discusses the use of middleware for authorization in routing logic. The author argues that middleware is not the right abstraction for handling authorization and suggests using wrapper functions instead.
Clerk disclosed a major security vulnerability with their Next.js integration, allowing malicious actors to act on behalf of other users. The vulnerability was related to the internals used by auth() and getAuth(). The vulnerabili...
The text discusses the issues with Math.random() and provides alternatives for generating random values in TypeScript. It explains the use of Node's crypto API and the Web Crypto API, and the methods to generate random integers an...
OAuth 2.0 is a widely accepted standard that allows third parties to access your data on GitHub and other services without requiring you to share your password. This guide covers the concepts behind the protocol, demonstrates how ...
The text discusses the pros and cons of using cookies and local storage for storing data in the client. It explains the vulnerabilities and security concerns associated with both options and provides recommendations for preventing...

0Next.js, just why?

2023-09-09

The author expresses frustration with Next.js, particularly with the difficulty of setting cookies and headers, inconsistent APIs, and limitations with middleware. They criticize the rushed release, incomplete documentation, and t...
The text discusses the GDPR compliance of analytics services, focusing on the legal aspects of data collection and privacy protection. It explains the GDPR and ePrivacy Directive, the definition of personal data, legitimate intere...