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
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,9 @@ def token():
@oauth.require_oauth('profile')
def userinfo():
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(
id=user.uid,
name=user.displayname,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment