Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:Fall 2: 28 Sep - 9 Oct, Fall 3: Oct 12 - Oct 23
Description
Situation: BioViz Connect settings.ini has a variable IS_DEV_ENVIRONMENT that can be set to true/false for development/production. If set to true and a valid CyVerse username and password are also included in settings.ini, then loadlogin method within views.py is supposed to use the username and password to obtain an access token without using the normal CAS login. However, instead of using the value of IS_DEV_ENVIRONMENT loadlogin is hardcoded with False. This is due to a bug where if it is set to True the access token appears to be obtained, but then the user is redirected to the connect.bioviz CAS login page instead of their dev server. This may have to do with some logic changes we made to logging out the user and redirecting them to connect.bioviz.org whenever an issue is encountered - such as an expired access token.
Task: Investigate and fix the issue so that loadlogin uses the IS_DEV_ENVIRONMENT variable properly.
Attachments
Issue Links
- relates to
-
IGBF-2521 Add dev setting to BioViz Connect playbook
- Closed
Pull Request Link:
https://bitbucket.org/nfreese/django-cyversedev/pull-requests/195/igbf-2549/diff
Moving the ticket to Needs testing.