Home / Companies / PropelAuth / Blog / October 2022

October 2022 Summaries

8 posts from PropelAuth

Filter
Month: Year:
Post Summaries Back to Blog
A company migrated its marketing website from a no-code WYSIWYG platform to Next.js hosted on Vercel to gain greater design flexibility, safer code changes, review processes, and support for richer interactions. Its existing experience with React and Next.js, combined with Next.js features such as file-based routing, server-side rendering, API routes, and Vercel’s fast deployments, preview environments, and serverless-function support, made the combination suitable for the project. Rather than rebuilding every page before launch, the team used Next.js Rewrites to serve newly built pages while proxying unavailable routes to the old marketing site or documentation, enabling an incremental transition and earlier feedback. They also manually maintained sitemap coverage for legacy pages to avoid search-indexing gaps. To preserve marketing-team autonomy, the site uses server-side rendering to load content from the Sanity CMS, allowing nontechnical users to publish pages from predefined templates, while developers continue to build more complex and interactive components in React and CSS.
Oct 24, 2022 893 words in the original blog post.
Chalice is presented as a Python framework that simplifies deploying serverless AWS applications by packaging dependencies and creating Lambda-backed API routes without requiring direct infrastructure management. The walkthrough demonstrates creating a basic route, configuring AWS credentials, deploying with Chalice, and observing Lambda cold starts, then adds PropelAuth to authenticate users through bearer-token validation that can occur locally without external requests. It notes that dependencies must be declared in requirements.txt for Chalice deployments, rather than relying solely on a local virtual environment. To reduce repeated authentication code, the approach uses Python decorators to inject validated user information into protected routes. The example then extends authentication to multi-tenant B2B scenarios, validating organization membership and admin roles through organization IDs in route paths and returning appropriate unauthorized or forbidden responses. The combination of Chalice and PropelAuth is positioned as a way to build maintainable, enterprise-oriented serverless APIs with user management, role-based access control, and organization support, with potential next steps including a frontend, a serverless-compatible database, and scheduled background tasks.
Oct 20, 2022 1,705 words in the original blog post.
Passwordless authentication uses one-time “magic links,” typically delivered by email or phone, to provide a faster alternative to passwords and reduce exposure to weak or reused credentials. Role-based access control (RBAC) assigns permissions according to roles such as owner, administrator, or member, enabling organizations to limit access based on responsibilities. Multi-factor authentication (MFA), including two-factor authentication (2FA), requires users to provide multiple forms of identity verification, such as a password plus a code, device, or biometric factor. Identity providers (IdPs) manage user identities and enable single sign-on to service providers (SPs), with protocols such as SAML allowing applications to authenticate users through an IdP. Brute-force protection limits repeated login attempts and may also defend against dictionary attacks using common passwords. In multi-tenant software, separate customer groups share infrastructure while authentication and authorization prevent access across tenant boundaries. JSON Web Tokens (JWTs) are tamper-verifiable login tokens that can carry metadata and be validated without a database lookup, potentially reducing database load at scale.
Oct 18, 2022 871 words in the original blog post.
B2B products commonly need to support groups of coworkers, which may be called organizations, workspaces, teams, tenants, companies, or other names, and doing so requires capabilities for group creation, member onboarding through invitations, email-domain matching, or enterprise SSO, and role management. PropelAuth offers customizable hosted interfaces for these functions and has expanded their flexibility by allowing products to choose the terminology used for groups on those pages, either from common predefined options or a custom label.
Oct 14, 2022 204 words in the original blog post.
A demonstration of Python’s geneticalgorithm library shows how genetic algorithms can optimize arbitrary objectives by iteratively favoring candidate solutions that receive useful gradient-like feedback, contrasting smooth distance-based scoring with all-or-nothing functions that often fail to converge. The approach represents a chessboard as 64 integer-valued squares, uses python-chess to convert candidates into boards and verify position validity, and initially finds the minimal valid board containing only two kings. It then integrates the Stockfish engine into the fitness function to search for mate-in-three positions, penalizing invalid or finished games, incorrect mating distances, excessive pieces, and positions with more than one strong move so that generated boards resemble puzzles with a unique winning move. Altering the scoring criteria can produce unusual variants, such as positions packed with knights while retaining a forced mate, illustrating the flexibility of objective-driven generation. Although these synthetic puzzles are generally less realistic than those extracted from actual games, realism could potentially be improved by adding a classifier trained on large game datasets such as Lichess data.
Oct 13, 2022 2,175 words in the original blog post.
Security Assertion Markup Language (SAML) is an enterprise single sign-on standard that lets employees authenticate once through an identity provider, such as Okta, Azure AD, Google, or JumpCloud, and then access integrated applications including Jira, Salesforce, and Zendesk without repeatedly entering credentials. It connects identity providers, which manage employee identities and access, with service providers, which deliver applications, improving user convenience while helping companies centralize onboarding and offboarding, reduce access-management errors, and encourage stronger password practices. Because many large enterprises require SAML support from software vendors, it is often essential for B2B providers seeking enterprise customers. Implementing SAML internally can be complex, time-consuming, and security-sensitive due to differing identity-provider configurations and ongoing maintenance needs, so the text suggests that many companies may prefer a specialized provider. It presents PropelAuth as a self-service SAML option with guided customer setup, support for major and emerging identity providers, ongoing assistance, and pricing intended to make SAML more accessible to growing businesses.
Oct 12, 2022 1,006 words in the original blog post.
GraphQL provides a flexible API interface that returns precisely requested data, and the tutorial demonstrates how to build a secure multi-tenant wiki application using PostGraphile, PropelAuth, PostgreSQL Row Level Security, React, and Apollo. PostGraphile automatically generates a GraphQL API from a PostgreSQL schema, while PropelAuth supplies user authentication, organization membership, invitations, and role management. Authentication middleware validates access tokens and organization membership, then passes user, organization, and role information into PostgreSQL settings so Row Level Security policies can ensure users can read or modify only records belonging to their organization and create pages only under their own identity. On the frontend, React authentication and Apollo providers automatically attach access tokens and selected organization IDs to GraphQL requests, enabling authenticated queries and mutations. The approach also highlights the need to limit exposed database schema through namespaces, views, and PostGraphile smart tags, while supporting expanded role-based permissions through multiple PostgreSQL roles and policies.
Oct 04, 2022 2,708 words in the original blog post.
Products often evolve from simple, focused solutions into increasingly complex platforms as they add features to serve more users and use cases, creating opportunities for newer competitors to offer streamlined alternatives. AWS illustrates this progression from its early EC2 and S3 offerings to a broad and sometimes difficult-to-navigate service catalog, while companies such as Vercel and Fly.io focus on simplified deployment experiences for narrower needs. Maintaining simplicity requires companies to define and protect their core competencies, as Vercel does by directing users to external file-storage providers rather than building storage directly into its platform. Although new features may appear easy and profitable to add, they create long-term maintenance, pricing, support, migration, and user-interface costs that are difficult to reverse once customers depend on them. Companies should therefore evaluate feature requests not only for short-term demand but also for their alignment with the product’s mission, value, and sustainable ability to support them over time.
Oct 03, 2022 913 words in the original blog post.