codefordenver / hawthorn-client

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.
http://hawth.org
Apache License 2.0
2 stars 1 forks source link

Update register call to use node client #59

Open trex opened 4 years ago

trex commented 4 years ago

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.