Commit 9eb088ef by muhammad-ammar

auth settings for veda -> val communication

parent 12076dc6
......@@ -47,10 +47,10 @@ oauth_client_setup_oauth2_clients:
}
- {
name: "{{ video_pipeline_service_name | default('None') }}",
url_root: "{{ VIDEO_PIPELINE_URL_ROOT | default('None') }}",
url_root: "{{ VIDEO_PIPELINE_OAUTH2_URL | default('None') }}",
id: "{{ VIDEO_PIPELINE_SOCIAL_AUTH_EDX_OIDC_KEY | default('None') }}",
secret: "{{ VIDEO_PIPELINE_SOCIAL_AUTH_EDX_OIDC_SECRET | default('None') }}",
logout_uri: "{{ VIDEO_PIPELINE_LOGOUT_URL | default('None') }}"
logout_uri: ""
}
#
......
......@@ -53,13 +53,14 @@ VIDEO_PIPELINE_DJANGO_SETTINGS_MODULE: "VEDA.settings"
VIDEO_PIPELINE_DOMAIN: 'pipeline'
VIDEO_PIPELINE_URL_ROOT: "http://{{ VIDEO_PIPELINE_DOMAIN }}:{{ VIDEO_PIPELINE_NGINX_PORT }}"
VIDEO_PIPELINE_LOGOUT_URL: "{{ VIDEO_PIPELINE_URL_ROOT }}/logout/"
VIDEO_PIPELINE_OAUTH2_URL: "{{ VIDEO_PIPELINE_URL_ROOT }}/api/val/v0"
VIDEO_PIPELINE_SECRET_KEY: "Your secret key here"
VIDEO_PIPELINE_LANGUAGE_CODE: "en-us"
# Used to automatically configure OAuth2 Client
VIDEO_PIPELINE_SOCIAL_AUTH_EDX_OIDC_KEY : "pipeline-key"
VIDEO_PIPELINE_SOCIAL_AUTH_EDX_OIDC_SECRET : "pipeline-secret"
VIDEO_PIPELINE_SOCIAL_AUTH_EDX_OIDC_KEY: "pipeline-key"
VIDEO_PIPELINE_SOCIAL_AUTH_EDX_OIDC_SECRET: "pipeline-secret"
VIDEO_PIPELINE_SOCIAL_AUTH_REDIRECT_IS_HTTPS: false
VIDEO_PIPELINE_DATA_DIR: "{{ COMMON_DATA_DIR }}/{{ video_pipeline_service_name }}"
......@@ -128,8 +129,8 @@ VIDEO_PIPELINE_VAL_BASE_URL: "http://127.0.0.1:8010"
VIDEO_PIPELINE_VAL_API_URL: "{{ VIDEO_PIPELINE_VAL_BASE_URL }}/api/val/v0/videos"
VIDEO_PIPELINE_VAL_TOKEN_URL: "{{ VIDEO_PIPELINE_VAL_BASE_URL }}/oauth2/access_token"
VIDEO_PIPELINE_VAL_VIDEO_IMAGES_URL: "{{ VIDEO_PIPELINE_VAL_BASE_URL }}/api/val/v0/videos/video-images/update/"
VIDEO_PIPELINE_VAL_CLIENT_ID: "SET-ME-PLEASE"
VIDEO_PIPELINE_VAL_SECRET_KEY: "SET-ME-PLEASE"
VIDEO_PIPELINE_VAL_CLIENT_ID: "{{ VIDEO_PIPELINE_SOCIAL_AUTH_EDX_OIDC_KEY }}"
VIDEO_PIPELINE_VAL_SECRET_KEY: "{{ VIDEO_PIPELINE_SOCIAL_AUTH_EDX_OIDC_SECRET }}"
VIDEO_PIPELINE_VAL_USERNAME: "staff"
VIDEO_PIPELINE_VAL_PASSWORD: "edx"
VIDEO_PIPELINE_VAL_TRANSCRIPT_CREATE_URL: "{{ VIDEO_PIPELINE_VAL_BASE_URL }}/api/val/v0/videos/video-transcripts/create/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment