Extend the Session Object in NextAuth

By default, NextAuth returns minimal information in the session object. However, there are use cases where you might want to return extra information to the client. This post shows you how to extend the session object and return additional fields to the client. NextAuth Callbacks NextAuth callbacks enable you to…