Implementing GitHub OAuth with NextAuth.js

Implementing GitHub OAuth with NextAuth.js

Bob Palmer Articles, JavaScript, Programming, Security Leave a Comment

In my last post, โ€œIntroduction to Web Apps with Next.jsโ€, we went through the steps of setting up a new Next.js project, customizing a landing page, and implementing a very simple web application. In this post, weโ€™ll implement an Open Authentication (OAuth) based Single Sign-On (SSO) API within Next.js using NextAuth.js. Weโ€™ll be using GitHub as our provider, but the steps here are very similar for other platforms, such as Google or Discord. This will allow us to place portions of our website behind a login screen, restricting access to certain content or APIs for anonymous visitors.

Expo and Express Web and Mobile Dev

Web and Mobile Dev with Expo and Express

John Boardman Articles, Mobile, React, React Native 3 Comments

So, you want to develop a new website with spiffy apps on Android and iOS, and you want that website and your APIs to run in Node Express. It sounds like a lot of work to write the website in React (or Flutter or whatever the language de jour is), the Android app with Android Studio, and the iOS app with Xcode…

Navigating GCP IAP Local and Deployed Development with .NET and React

Navigating GCP IAP: Local and Deployed Development with .NET and React

Zach Gardner .NET, API Development, Articles, Google Cloud Platform, React Leave a Comment

Iโ€™m currently working on several cloud-native projects hosted on Google Cloud Platform (GCP) that use .NET for the API and React for the UI. These projects rely on GCPโ€™s Identity-Aware Proxy (IAP) to handle authentication, which occurs before any requests reach the Application Load Balancer or the application itself.

While GCPโ€™s IAP offers robust security benefits, configuring a .NET and React application to work seamlessly with itโ€”both locally during development and when deployed to a Cloud Run instance as a Docker containerโ€”proved to be more challenging than I expected. The available documentation and resources for this setup are sparse and often fragmented, making it difficult to piece together a clear solution.

This blog post is my way of sharing the lessons Iโ€™ve learned along the way. By outlining the steps and solutions that worked for me, I hope to save others from the trial and error I experienced and provide a clearer path for integrating GCP IAP with .NET and React applications.

Best Practices: Enterprise App Development With Python

Zach Gardner All Industries, API Development, Keyhole, Python, Videos 3 Comments

Python has become the go-to language for enterprise-level applications, and itโ€™s easy to see why. With its simplicity, versatility, and extensive libraries, Python provides an excellent framework for developing robust applications. But despite its wide use, successful enterprise app development with Python requires a thoughtful and strategic approach. In this guide, weโ€™ll explore some of the best practices that can …

RAG Architecture Pattern Explained

RAG Architecture Pattern Explained

David Pitt All Industries, Architecture, Articles, Artificial Intelligence, Retrieval-Augmented Generation (RAG) Leave a Comment

In the software development space, RAG solutions are being used to enhance productivity and streamline processes. By indexing and searching the entire codebase of a project, these solutions provide relevant, context-aware results from an LLM. Instead of simply suggesting code snippets, RAG-based tools can analyze and generate entire use case implementations across multiple programming languages. The result is a significant boost in productivity, enabling software teams to work faster and more efficiently.