-
Notifications
You must be signed in to change notification settings - Fork 1
BI-2539 - Add GitHub as Alternative OAuth Provider #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| process.env.VUE_APP_LOG_LEVEL = process.env.VUE_APP_LOG_LEVEL || 'error'; | ||
| process.env.VUE_APP_BI_REFERENCE_SOURCE = process.env.VUE_APP_BI_REFERENCE_SOURCE || 'breedinginsight.org'; | ||
| process.env.VUE_APP_BRAPI_VENDOR_SUBMISSION_ENABLED = ('true' === process.env.VUE_APP_BRAPI_VENDOR_SUBMISSION_ENABLED); | ||
| process.env.VUE_APP_ALTERNATE_AUTHENTICATION_ENABLED = ('true' === process.env.VUE_APP_ALTERNATE_AUTHENTICATION_ENABLED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add ALTERNATE_AUTHENTICATION_ENABLED defaulting to false to the environment section of the bi-web service definition in docker-compose.yml in bi-docker-stack.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, see Breeding-Insight/bi-docker-stack#58.
Description
Story: BI-2539.
These changes add a Sign In with GitHub option for sign in and initial account activation which can be enabled with an environment variable.
bi-api PR (for BI-2539): Breeding-Insight/bi-api#446.Superceded by the bi-api PR for BI-2540: Breeding-Insight/bi-api#473
bi-docker-stack PR: Breeding-Insight/bi-docker-stack#58
Dependencies
bi-api: feature/BI-2539
Testing
The testing of Breeding-Insight/bi-api#473 will largely cover this PR. Additionally, make sure that setting
VUE_APP_ALTERNATE_AUTHENTICATION_ENABLEDtrueandfalsehas the expected effect.Checklist: