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
f495f219
Commit
f495f219
authored
Oct 15, 2012
by
Carlos Andrés Rocha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update common/djangoapps/external_auth/views.py
Corrected comments on OpenID temporal fix
parent
a88a8577
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
common/djangoapps/external_auth/views.py
+5
-5
No files found.
common/djangoapps/external_auth/views.py
View file @
f495f219
...
@@ -488,16 +488,16 @@ def provider_login(request):
...
@@ -488,16 +488,16 @@ def provider_login(request):
url
=
endpoint
+
urlquote
(
user
.
username
)
url
=
endpoint
+
urlquote
(
user
.
username
)
response
=
openid_request
.
answer
(
True
,
None
,
url
)
response
=
openid_request
.
answer
(
True
,
None
,
url
)
# TODO: for CS50 we are forcibly returning
only th
e
# TODO: for CS50 we are forcibly returning
the usernam
e
#
username. Following
the OpenID simple registration
#
instead of fullname. In
the OpenID simple registration
# extension, we don't have to return any fields we don't
# extension, we don't have to return any fields we don't
# want to, even if they were marked as required by the
# want to, even if they were marked as required by the
# Consumer. The behavior of what to do when there are
# Consumer. The behavior of what to do when there are
# missing fields is up to the Consumer. The proper change
# missing fields is up to the Consumer. The proper change
#
will
only return the username, however this will likely
#
should
only return the username, however this will likely
# break the CS50 client. Temporarily we will be returning
# break the CS50 client. Temporarily we will be returning
# username filling in for
email and fullname in addition
# username filling in for
fullname in addition to username
#
to username
as sreg nickname.
# as sreg nickname.
results
=
{
results
=
{
'nickname'
:
user
.
username
,
'nickname'
:
user
.
username
,
'email'
:
user
.
email
,
'email'
:
user
.
email
,
...
...
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