Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
3c01ed44
Commit
3c01ed44
authored
Dec 08, 2015
by
Renzo Lucioni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include auth URL data attribute in the programs authoring template
The authoring app requests JWTs from this endpoint.
parent
2d3a4c9f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
cms/djangoapps/contentstore/views/program.py
+1
-0
cms/templates/program_authoring.html
+1
-1
No files found.
cms/djangoapps/contentstore/views/program.py
View file @
3c01ed44
...
...
@@ -28,6 +28,7 @@ class ProgramAuthoringView(View):
'show_programs_header'
:
programs_config
.
is_studio_tab_enabled
,
'authoring_app_config'
:
programs_config
.
authoring_app_config
,
'programs_api_url'
:
programs_config
.
public_api_url
,
'programs_token_url'
:
reverse
(
'programs_id_token'
),
'studio_home_url'
:
reverse
(
'home'
),
})
else
:
...
...
cms/templates/program_authoring.html
View file @
3c01ed44
...
...
@@ -12,5 +12,5 @@
</
%
block>
<
%
block
name=
"content"
>
<div
class=
"js-program-admin program-app layout-1q3q layout-reversed"
data-api-url=
${programs_api_url}
data-home-url=
${studio_home_url}
></div>
<div
class=
"js-program-admin program-app layout-1q3q layout-reversed"
data-api-url=
${programs_api_url}
data-
auth-url=
${programs_token_url}
data-
home-url=
${studio_home_url}
></div>
</
%
block>
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