Hawthorn is based on the concept of affinity groups, a group of individuals who come together around a shared experience, interest or common goal. With Hawthorn affinity groups, you are free to start or join conversations and share useful resources with people in your community.
On the server-side, we are making the call to FusionAuth to register a user using the fetch API. We can make this request with the FusionAuth node client instead. This will be beneficial if there are updates to the endpoint, as they can get updated with the client, and for consistency.
The reason why some of the other calls to FusionAuth are made using fetch are because the OAuth workflows (login, logout) are not available in the node client.
On the server-side, we are making the call to FusionAuth to register a user using the fetch API. We can make this request with the FusionAuth node client instead. This will be beneficial if there are updates to the endpoint, as they can get updated with the client, and for consistency.
The reason why some of the other calls to FusionAuth are made using fetch are because the OAuth workflows (login, logout) are not available in the node client.