Home / Companies / FusionAuth / Blog / Post Details
Content Deep Dive

Using the Family API with Consents

Blog post from FusionAuth

Post Details
Company
Date Published
Author
Dean Rodman
Word Count
4,068
Language
English
Hacker News Points
-
Summary

A tutorial demonstrates building a basic Node.js and Express web application with FusionAuth, focusing on creating a family structure to manage user consents for accessing restricted features. The application allows an adult user to grant or revoke permissions for child users, showcasing how FusionAuth's APIs—Family, Consent, and UserConsent—facilitate this process. The tutorial provides instructions for setting up FusionAuth using Docker and Docker Compose, configuring API keys, creating and managing users, and establishing family roles. It also covers creating consent templates and integrating OAuth for secure authentication, culminating in a permissions system with parental controls. The tutorial emphasizes the importance of secure configuration for production environments while highlighting how FusionAuth simplifies implementing authentication and consent management.