Home / Companies / Stytch / Blog / October 2023

October 2023 Summaries

5 posts from Stytch

Filter
Month: Year:
Post Summaries Back to Blog
A SIM-swap scam is a form of account takeover attack that targets mobile phone numbers to gain access to online accounts, exploiting the mobile number portability feature that allows phone numbers to be transferred between SIM cards. This scam specifically targets SMS one-time passcodes (SMS OTPs), a popular form of two-factor authentication due to their accessibility and the "something-you-have" authentication factor, making them an appealing attack vector. Fraudsters typically use phishing and social engineering tactics to obtain personal information and deceive mobile carriers into transferring a victim's phone number to a SIM card they control. Key signs of a SIM-swap attack include loss of phone service and unauthorized activity on social media and financial accounts. To combat SIM-swapping, it is important for individuals to recognize phishing attempts, use strong and unique passwords, and consider alternative authentication methods like passkeys or authenticator apps. Organizations can enhance security by incorporating step-up authentication and investing in fraud prevention tools to detect suspicious activities.
Oct 23, 2023 2,557 words in the original blog post.
At Stytch, the team has enhanced their SQL-based product analytics pipeline to handle increased data and query loads efficiently, using dbt as the transformation layer. Initially, this pipeline was designed to process raw event data into an analytics layer within their Snowflake data warehouse, with a focus on staging, reporting, and data marts to maintain performance and organization. However, as API usage grew, the team faced performance bottlenecks, particularly with queries using count(distinct) aggregations. To address this, they adopted incremental updates and optimized queries by leveraging Snowflake's window functions to reduce data scanning requirements. This strategy significantly reduced query execution times, allowing the team to streamline their whole model hierarchy and improve the pipeline's execution time from 45 minutes to under four minutes, demonstrating the effectiveness of logical data flow refactoring.
Oct 20, 2023 1,337 words in the original blog post.
JSON Web Tokens (JWTs) are a secure communication standard used primarily for user access management, enabling clients and servers to exchange information compactly through a self-contained JSON object. JWTs consist of a header, payload, and signature, with the payload containing claims that convey information such as user identity and permissions. JWT claims are categorized into registered, public, and private types, each serving different purposes, such as standardized claims for interoperability or custom claims for specific user data. While registered claims are universally recognized, developers can create custom claims—either public, registered with the IANA registry, or private for local agreements—to include additional user information like metadata. Care must be taken to avoid naming collisions with registered claims to ensure proper data conveyance. The article also mentions Stytch as a tool for managing user access with JWTs, offering features like short expiration times and automatic API fallbacks.
Oct 04, 2023 899 words in the original blog post.
A JSON Web Token (JWT) is a compact, self-contained method of securely transmitting information between clients and servers, primarily used for authentication and authorization in web applications. JWTs consist of three parts: a header, payload, and signature, each encoded in Base64Url format, allowing for user identity verification and dictating user permissions without relying on server-side storage, which is known as stateless authentication. This method can improve application responsiveness by reducing server dependencies and enabling seamless user authentication across multiple platforms, exemplified by OAuth's use of JWTs to share user credentials across different servers. However, JWTs have a drawback in that they cannot be easily revoked or updated once issued, posing potential security risks if a token is compromised. Despite this, companies like Stytch provide solutions to enhance JWT security while maintaining their benefits, ensuring a balance between flexibility and protection.
Oct 03, 2023 1,620 words in the original blog post.
Auth0, a prominent authentication provider, has experienced growing developer dissatisfaction since its acquisition by Okta in 2021, prompting interest in alternatives due to limited UI/UX flexibility, basic fraud prevention, B2B limitations, and rising costs. As developers seek replacements, two main categories emerge: managed services like Stytch, which offer comprehensive solutions and ease of use, and open-source options like Keycloak, which require more developer involvement but allow for customization. Stytch offers a developer-focused platform with features like passwordless authentication and advanced fraud prevention, presenting itself as a scalable and cost-effective Auth0 alternative. Other contenders include Amazon Cognito, which excels in AWS integration, Firebase Authentication, known for its simplicity and Google ecosystem compatibility, and Ping Identity, which caters to large enterprises needing extensive governance and compliance features. Each alternative provides unique strengths, allowing developers to choose based on their specific application needs and infrastructure investments.
Oct 03, 2023 2,018 words in the original blog post.