Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
9eb088ef
Commit
9eb088ef
authored
Oct 11, 2017
by
muhammad-ammar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auth settings for veda -> val communication
parent
12076dc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
playbooks/roles/oauth_client_setup/defaults/main.yml
+2
-2
playbooks/roles/video_pipeline/defaults/main.yml
+5
-4
No files found.
playbooks/roles/oauth_client_setup/defaults/main.yml
View file @
9eb088ef
...
...
@@ -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
:
"
"
}
#
...
...
playbooks/roles/video_pipeline/defaults/main.yml
View file @
9eb088ef
...
...
@@ -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/"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment