Skip to content
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

Applying base64 to env vars and fixing log issue #23

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

jonathanpmoraes
Copy link

This pull request includes several changes to web/setupProxy.js, web/src/auth/AuthContext.tsx, and web/src/components/ga4.tsx to improve code consistency and add environment-specific configurations.

Code consistency improvements:

Environment-specific configurations:

  • web/src/auth/AuthContext.tsx: Added a function to decode base64 strings and set the oktaClientId based on whether the environment is staging or production.
  • web/src/components/ga4.tsx: Added a function to decode base64 strings and set the Google Analytics ID (gaId) based on whether the environment is staging or production.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@jonathanpmoraes jonathanpmoraes merged commit 97d6adc into main Feb 19, 2025
2 checks passed
@jonathanpmoraes jonathanpmoraes deleted the encoded-vars branch February 19, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants