ara-web/src/config
Guillaume Vincent 9e2feefb2e Support authentication
Test at startup if /api/v1/ returns 401 status code.
If yes redirect to login page, else continue.
On login save credentials (username, password) in localStorage.
On every request we set credentials in header if present.

Fixes: https://github.com/ansible-community/ara-web/issues/1

Change-Id: I0f0b18b5590dec4ebfce32aa6519bb46fc8533f5
2019-05-31 12:20:02 +02:00
..
configActions.js Support authentication 2019-05-31 12:20:02 +02:00
configActions.test.js Run unit test in zuul 2019-01-09 15:44:23 +01:00
configActionsTypes.js Connect ara-web with ara-server 2018-09-17 16:14:46 +02:00
configReducer.js Connect ara-web with ara-server 2018-09-17 16:14:46 +02:00
configReducer.test.js Connect ara-web with ara-server 2018-09-17 16:14:46 +02:00