nwfsc-fram / boatnet

At-Sea Field Data Collection Software Components for Scientific Surveys and Observers
8 stars 5 forks source link

Sort out login issues when switching apps #1147

Open ghost opened 4 years ago

ghost commented 4 years ago

Being logged in on one app, then switching apps (e.g. from /boatnet/ to /ashop/) currently causes issues. Solution may be to track which app a user logged in for, but this fix will probably be limited to bn-auth.

Currently, closing the page, reopening will re-auth locally but not auth on CouchDB. Investigate a secure method to do so.

ghost commented 4 years ago

change will be made in bn-auth around this code [Auth Service] Auto-login using stored user.

ghost commented 4 years ago

Expanding the scope of this slightly to include re-authing couchdb

ghost commented 4 years ago

Looking at the template loading stuff ("ashop") app and the WCGOP configuration started by Seth, which will cover this. Removing from milestone, this might just go away.

SaOgaz-NOAA commented 4 years ago

@sethgerou-noaa or @melinashak-noaa, can we close this ticket? Can't really tell from the notes on here, hah.