amino-health / oura-intervention

Web-application for the "Självständigt arbete inom IT" course
Mozilla Public License 2.0
1 stars 1 forks source link

Fetching example data from ring now works #4

Closed JakobPaulsson closed 2 years ago

JakobPaulsson commented 2 years ago

When application loads, the Oura login page appears. After successful login, some example data is printed in the terminal.

Note: must run application with port 8080 using "flutter run -d chrome --web-port 8080". This is because the Oura API must whitelist the web page for redirection, hence the port must be known beforehand.

If there is an XMLHttprequest error (CORS issue), follow these steps (only step 1 may be necessary):

image