svs / covid19-supply-chain-backend

2 stars 6 forks source link

Add login functionality via new popup window #28

Open swap-interactive opened 4 years ago

swap-interactive commented 4 years ago

Make use authentication via new popup window and postMessage authToken from child window to parent opener window. Fork from https://github.com/svs/covid19-supply-chain-backend/pull/17

swapkats commented 4 years ago

Changed this flow. Since devise seemed removed token based authentication. Instead using localStorage to persist form data before login. Since it has lesser surface area for bugs.