Skip to content
Snippets Groups Projects
Commit ecfa1f9e authored by Julian's avatar Julian
Browse files

documented removal of ldap_uuid from oauth2 userinfo

parent 34ad169c
Branches
No related tags found
No related merge requests found
...@@ -100,6 +100,9 @@ def token(): ...@@ -100,6 +100,9 @@ def token():
@oauth.require_oauth('profile') @oauth.require_oauth('profile')
def userinfo(): def userinfo():
user = request.oauth.user user = request.oauth.user
# We once exposed the entryUUID here as "ldap_uuid" until realising that it
# can (and does!) change randomly and is therefore entirely useless as an
# indentifier.
return jsonify( return jsonify(
id=user.uid, id=user.uid,
name=user.displayname, name=user.displayname,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment