This article serves 2 purposes. Firstly, explain how to test if a mocked component receives the...
In previous parts we saw how to use and test the async searchParams prop in a route page component....
This is the fourth part in a series were we look into using and testing the new searchParams...
At the time of writing the first 2 parts in this series, I was using Next 15.0.1. That version still...
This is part 2 of a series on searchParams in Next 15. In the first part we talked about synchronous...
Next 15 changed how we use the searchParams props of the page.tsx file (the route root,...
There are some issues that we left unhandled, let's quickly go over them. Automatically...
The code in this chapter is available on github (branch changepassword). The last functionality in a...
We already build a form and a custom Strapi endpoint to update the user. We also established that we...
We can now build the functionality to update the user's data (username). This is actually quite...
We have nearly finished. We'll first be creating a user account page. On this page, the user will be...
What do we need to do? Make a page where the user requests a password reset. The user should enter...
The code in this chapter is available on github: branch emailconfirmation. We have a full sign up...
This code for this example is available on github: branch credentialssignup. We have our form,...
Before we start coding there's a problem we need to handle with GoogleProvider and then we need to...
All the code for this chapter is available on github: branch credentialssignin. We have some things...
All the code for this chapter is available on github: branch credentialssignin. The app in it's...
We will now add the credentials auth flow to our project. By credentials we mean the old school login...
This chapter is a bit tricky because we need to introduce some new concepts. On top of that, NextAuth...
The final code for this chapter is available on github (branch callbacksForGoogleProvider). The...
The final code for this chapter is available on github (branch callbacksForGoogleProvider). NextAuth...
Up until now we've used the default login page NextAuth provides us. But we had 2 problems with...
This is the second part on the basic configuration of NextAuth with GoogleProvider. The finished code...
In this chapter we're going to install NextAuth and setup a basic example with Google provider. Note...
NextAuth is an open source authentication solution for fullstack (Next) applications. It offers...
We need to do some installing and configuring before we can start. The endpoint of the setup code can...
I recently started looking into Strapi, a headless cms. As it is backend only, it's up to you to...
Up until now, we have been working with dynamically rendered server components. But, there are other...
Next 13 introduced build-in mechanisms for displaying loading states: loading.js Suspense In this...
Edit: This article is out of date. Read the updated version: Mocking usePathName, useSearchParams and...