Company
Date Published
Author
Akira Brand
Word count
6575
Language
English
Hacker News points
None

Summary

The OAuth 2.0 Authorization Code grant is used to authenticate users with FusionAuth and then exchange the authorization code for an access token that can be used to access resources specific to the user. The React app uses this grant to log in, log out, and display a user's data. The Express server handles the redirect back to the React app after authentication and also stores the access token in session storage.