Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
feudal
feudalBackend
Commits
4db0e5da
Commit
4db0e5da
authored
Jul 03, 2018
by
Lukas Burgey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include the issuer in the userinfo
parent
fed72fb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
django_backend/backend/auth/v1/models.py
django_backend/backend/auth/v1/models.py
+1
-0
No files found.
django_backend/backend/auth/v1/models.py
View file @
4db0e5da
...
...
@@ -101,6 +101,7 @@ class OIDCTokenAuthBackend(object):
userinfo_bytes
=
urlopen
(
req
).
read
()
user_info
=
json
.
loads
(
userinfo_bytes
.
decode
(
'UTF-8'
))
user_info
[
'iss'
]
=
oidc_client
.
provider_info
[
'issuer'
]
else
:
LOGGER
.
error
(
"Invalid parameters for get_userinfo"
)
...
...
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