April 2024 Summaries
4 posts from Kinde
Filter
Month:
Year:
Post Summaries
Back to Blog
Peter, a software engineer at Kinde, shares his experience building the Kinde Remix SDK in response to community demand. Drawing inspiration from the Kinde Next.js SDK, he focuses on creating a minimum viable product (MVP) by prioritizing speed and essential functionality over comprehensive features. Utilizing JavaScript instead of TypeScript and leveraging existing functions from the Kinde TypeScript SDK, Peter develops the SDK to handle authentication processes like login, registration, and logout. He emphasizes efficient development practices, such as the 80/20 rule, and sets up a testing environment using a starter kit to ensure the SDK's functionality. Throughout the process, Peter incorporates error handling, writes unit tests for high code coverage, and releases the package using tools like Rollup and release-it. He also addresses challenges like cookie data limitations and refines the SDK post-release, all while maintaining productivity through structured work habits and accountability within his team.
Apr 26, 2024
3,411 words in the original blog post.
Cloudflare Workers offer a serverless execution environment that allows developers to deploy applications globally at the edge, enhancing performance and reducing latency by eliminating the need for server management. However, they are limited in their ability to run most server-side libraries and packages with dependencies not supported by Node.js, requiring bundlers like webpack for integration. For JWT verification within Cloudflare Workers, developers can choose between two libraries: cloudflare-worker-jwt, which is lightweight and optimized for use within the Cloudflare environment, and jose, which provides a broader range of cryptographic operations and is suitable for various environments. Both libraries require setting up a Cloudflare Worker and integrating the chosen library using a bundler. Developers must manage public keys and verify JWTs accordingly, with careful error handling and consideration for specific token claims to ensure robust authentication processes.
Apr 12, 2024
1,321 words in the original blog post.
Kinde, a company established two years ago, has observed a significant dissatisfaction among users with their current authentication (auth) providers, primarily due to substantial price increases and inadequate service. Customers have been switching to Kinde because of dramatic billing hikes, ranging from 200% to 2,000%, and the perception that their data is being unfairly held hostage. Kinde emphasizes the importance of fair pricing, transparency, and customer service, asserting that data should be easily transferable and not controlled by auth providers. By joining Kinde, customers can expect legendary support and a sense of community, as Kinde aims to foster a partnership that enables businesses to thrive rather than struggle against their auth providers. More information about their pricing and services can be found on their website.
Apr 08, 2024
311 words in the original blog post.
Kinde's new webhooks feature allows developers and businesses to create dynamic and personalized user experiences by integrating authentication services into their applications through user-defined HTTP callbacks triggered by specific events. This functionality enables custom actions, such as sending emails or server notifications, when events like user sign-ups or profile updates occur. The article provides a detailed example of setting up a webhook to track user authentications in a Discord server, utilizing services like Zapier and Kinde Starter Kits. By configuring webhooks in Kinde, developers can test event responses and decode JSON Web Tokens (JWT) to extract user information, facilitating seamless integration with third-party services like Discord. The guide also highlights the importance of verifying JWT signatures for security purposes and demonstrates how to trigger automated messages in Discord when users authenticate in connected applications, thereby enhancing interactivity and engagement through customizable workflows.
Apr 04, 2024
1,136 words in the original blog post.