FAQ | This is a LIVE service | Changelog

Skip to content

Add asset list fetching, asset delete and OAuth token

Dr Rich Wareham requested to merge github/fork/rjw57/asset-list-with-auth into master

Based on @joeadams04's work, this PR wires up the backend API to the AssetList.

The PR looks larger than it is because 4f75326a takes the opportunity to refactor the rather large AssetList component into separate components and removes the mocked data. New functionality is confined to the src/redux directory.

9a51c76c adds authorisation to the API. I've implemented this as a custom middleware for the moment since we have yet to fully settle on the token timeout behaviour. This will depend slightly on what our final OAuth2 deployment looks like.

NOTE: This PR depends on https://github.com/uisautomation/iar-backend/pull/15 and https://github.com/uisautomation/iar-backend/pull/16 for correct functioning.

Closes #25 (closed). Closes #12 (closed).

Merge request reports