User now gets basic portal no matter. Will then check cookie session
at /api/user/session, and get either USER or PUBLIC access_token back.
Login is done inside portal; currently will authenticated on server, server will
set cookie session; and page is simply reload()ed in client. User will then
thru cookie, received access_token.
After getting access_token, client will ask server for needed info using the token.
Work in progress: https://github.com/systemapic/wu/issues/273
User now gets basic portal no matter. Will then check cookie session at /api/user/session, and get either USER or PUBLIC access_token back.
Login is done inside portal; currently will authenticated on server, server will set cookie session; and page is simply reload()ed in client. User will then thru cookie, received access_token.
After getting access_token, client will ask server for needed info using the token.