svs / covid19-supply-chain-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add token based auth for better login flow

swapkats opened this issue · comments

The current login flow is after user fills the form, and we had to open auth in same window. This meant that we need to save form data before starting auth flow. This is tacky and will lead to bugs later on. We need to open auth flow in new child window and let it post token to parent opener window to avoid this.