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.

GenAI in the Enterprise: Charlene Li, NY Times Bestselling Author of “The Disruption Mindset”

Keyhole Software Artificial Intelligence, Gen AI In The Enterprise, Podcasts Leave a Comment

Attention: This article was published over 2 years ago, and the information provided may be aged or outdated. While some topics are evergreen, technology moves fast, so please keep that in mind as you read the post.Today’s episode of Generative AI in the Enterprise features Charlene Li, a decorated author of 6 NY Times bestsellers including The Disruption Mindset. Charlene …

Navigating the Maze of Authentication Options for Solo Devs and Small Teams (header)

Navigating the Maze of Authentication Options: A Solo Developer’s Guide

Andy Link Articles, Programming, Security Leave a Comment

In web development, choosing the right authentication strategy is a pivotal decision, especially for solo developers or small teams working with limited resources. After extensive research, I’ve adopted a hybrid approach that combines the security and ease of 3rd party services like Google and Microsoft with the control of an in-house solution.

This hybrid approach addresses my core concerns: cost, control, and user convenience while keeping the in-house method at the forefront. As we explore this topic, Iโ€™ll share the considerations and insights that shaped my strategy, aiming to guide you toward the authentication system that best fits your projectโ€™s unique demands.

Spring Security 5 with OAuth2 Login

Quick Start: Spring Security 5 OAuth2 Login

Brandon Klimek Articles, Development Technologies & Tools, Security, Spring, Tutorial 1 Comment

Social logins using Oauth2 have become a industry standard. It has revolutionized the way sites share data and has allowed users to quickly access new applications without having to create a new set of credentials. This article gives an example of why OAuth2 was invented and provides a working example of a Spring Security 5 application integrated with Google.