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
cd3abf37
Commit
cd3abf37
authored
Jul 01, 2015
by
Braden MacDonald
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8733 from open-craft/fix-shibboleth-fetch
Fix errors with fetching Shibboleth metadata
parents
c676bf04
4487b6d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
common/djangoapps/third_party_auth/tasks.py
+1
-1
common/djangoapps/third_party_auth/tests/data/testshib_metadata.xml
+1
-0
No files found.
common/djangoapps/third_party_auth/tasks.py
View file @
cd3abf37
...
...
@@ -63,7 +63,7 @@ def fetch_saml_metadata():
try
:
parser
=
etree
.
XMLParser
(
remove_comments
=
True
)
xml
=
etree
.
fromstring
(
response
.
tex
t
,
parser
)
xml
=
etree
.
fromstring
(
response
.
conten
t
,
parser
)
except
etree
.
XMLSyntaxError
:
raise
# TODO: Can use OneLogin_Saml2_Utils to validate signed XML if anyone is using that
...
...
common/djangoapps/third_party_auth/tests/data/testshib_metadata.xml
View file @
cd3abf37
<?xml version="1.0" encoding="UTF-8"?>
<!-- Cached and simplified copy of https://www.testshib.org/metadata/testshib-providers.xml -->
<EntitiesDescriptor
Name=
"urn:mace:shibboleth:testshib:two"
xmlns=
"urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:ds=
"http://www.w3.org/2000/09/xmldsig#"
...
...
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