Skip to content

Conversation

@mlm483
Copy link
Contributor

@mlm483 mlm483 commented Feb 25, 2025

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_ENABLED true and false has the expected effect.

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have create/modified unit tests to cover this change
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to documentation
  • I have run TAF: <link to TAF run>
  • I have run SiteImprove on pages impacted by changes

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);
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mlm483 mlm483 merged commit a0057d5 into develop Aug 20, 2025
1 check passed
@mlm483 mlm483 deleted the feature/BI-2539 branch August 20, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants