July 2017
Beginner to intermediate
340 pages
7h 43m
English
When the Dashboard app performs the OAuth2 dance with Strava, it stores user information into the session, which is perfect to have the user authenticate the dashboard.
However, when the ReactJS UI calls the DataService microservice to display the user runs, we need to provide an authentication header.
There are the following two ways to handle this problem:
The proxy solution is the simplest one by all means, because it removes the need to generate one token per user for accessing DataService. It also prevents ...
Read now
Unlock full access