Skip to content
Snippets Groups Projects
Commit 52ab9578 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

change keycloak config for dev

parent 754dafca
No related branches found
No related tags found
2 merge requests!323merge keycloak changes into branch,!322Sdc 1055/use openid config
Pipeline #59829 passed
...@@ -13,9 +13,7 @@ DATABASES = { ...@@ -13,9 +13,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.postgresql_psycopg2', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'atdb_admin', 'USER': 'atdb_admin',
'PASSWORD': 'atdb123', 'PASSWORD': 'atdb123',
#'NAME': 'atdb_ldv_astronauth_6feb2023', 'NAME': 'atdb_ldv_8aug2023',
#'NAME': 'atdb_ldv_27jun2023',
'NAME': 'atdb_ldv_8aug2023',
'HOST': 'localhost', 'HOST': 'localhost',
'PORT': '5432', 'PORT': '5432',
}, },
...@@ -27,10 +25,3 @@ DATABASES = { ...@@ -27,10 +25,3 @@ DATABASES = {
AUTH_PASSWORD_VALIDATORS = [] AUTH_PASSWORD_VALIDATORS = []
LOGIN_REDIRECT_URL = "http://localhost:8000/atdb" LOGIN_REDIRECT_URL = "http://localhost:8000/atdb"
SOCIALACCOUNT_PROVIDERS = {
'keycloak': {
'KEYCLOAK_URL': 'https://sdc-dev.astron.nl/auth',
'KEYCLOAK_REALM': 'SDC',
'SCOPE': ['openid', 'profile', 'email']
}
}
\ No newline at end of file
SET DEBUG=True
SET DATABASE_HOST=localhost
SET DATABASE_PORT=5432
SET DATABASE_NAME=atdb_ldv
SET DATABASE_USER=atdb_admin
SET DATABASE_PASSWORD=atdb123
python manage.py runserver --settings=atdb.settings.dev
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment