Skip to content

Commit

Permalink
Updated template to remove secret keys and values.
Browse files Browse the repository at this point in the history
  • Loading branch information
downiec committed Apr 29, 2024
1 parent 31c9921 commit 8c6684e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions backend/.envs/.django
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,5 @@ DJANGO_LOGIN_REDIRECT_URL=http://localhost:3000/search
DJANGO_LOGOUT_REDIRECT_URL=http://localhost:3000/search

# https://app.globus.org/settings/developers/registration/confidential_client
# GLOBUS_CLIENT_KEY=12345
# GLOBUS_CLIENT_SECRET=12345
GLOBUS_CLIENT_KEY=998c6dc4-2939-4714-9004-5ac5b804abea
GLOBUS_CLIENT_SECRET=xGgpQ2mt4TOVijoGTPkp7GdQZQoB29EMzgOqNdQ6Dzw=
GLOBUS_CLIENT_KEY=12345
GLOBUS_CLIENT_SECRET=12345
12 changes: 4 additions & 8 deletions metagrid_configs/metagrid_config
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ DOMAIN_SUBDIRECTORY=metagrid-backend

# General
DJANGO_SETTINGS_MODULE=config.settings.production
DJANGO_SECRET_KEY=838e5e25e62ac8a041c32adfec9a838b42f6f6504074e350fc5716bd4539942196215f46f217410617cd3b6180ef881bd702120f216eb6e19b359563f2f7b5dc2d78fb75853ab297f340cc8cf2082266dd2f7596fce87cea4a4c832907151a3fe05aae47
DJANGO_ADMIN_URL=de2231a977c7a236e34c0f9b11846c1136f5c2d1b59ccb96e77ae71944a3239398121c02b9763ca9a4990ac4c076b329ae9c58e225ca795c99fa02972955522ac71408f18bfaf7b27e976abb37d4ca5f34a4028dc19ee84cb02a1de7130b8c6b0b68d57a
DJANGO_SECRET_KEY=
DJANGO_ADMIN_URL=
DJANGO_ALLOWED_HOSTS=aims2.llnl.gov,198.128.245.179

# Security
Expand Down Expand Up @@ -55,7 +55,7 @@ REACT_APP_AUTHENTICATION_METHOD=globus

# Globus
REACT_APP_GLOBUS_REDIRECT=https://aims2.llnl.gov/cart/items
REACT_APP_CLIENT_ID=b610b638-2521-430c-a4dd-51a86950b485
REACT_APP_CLIENT_ID=
REACT_APP_GLOBUS_NODES=aims3.llnl.gov,esgf-data1.llnl.gov,esgf-data2.llnl.gov

# ESGF wget API
Expand Down Expand Up @@ -88,7 +88,7 @@ REACT_APP_HOTJAR_SV=6

# react-ga
# https://github.com/react-ga/react-ga
REACT_APP_GOOGLE_ANALYTICS_TRACKING_ID=G-515H3RKZYX
REACT_APP_GOOGLE_ANALYTICS_TRACKING_ID=

# Django Auth URLs
REACT_APP_DJANGO_LOGIN_URL=http://aims2.llnl.gov/metagrid-backend/login/globus/
Expand All @@ -100,7 +100,3 @@ REACT_APP_AUTHENTICATION_METHOD=globus
# https://docs.djangoproject.com/en/4.2/ref/settings/#logout-redirect-url
DJANGO_LOGIN_REDIRECT_URL=http://aims2.llnl.gov/search
DJANGO_LOGOUT_REDIRECT_URL=http://aims2.llnl.gov/search

# https://app.globus.org/settings/developers/registration/confidential_client
GLOBUS_CLIENT_KEY=871f801f-e2cf-45b2-8a3e-58561378897f
GLOBUS_CLIENT_SECRET=0oy2vE5q3rWeEBFX6ONN+ExNP3iKCUkzFONP3h49nMU=

0 comments on commit 8c6684e

Please sign in to comment.