Skip to content
Snippets Groups Projects
Commit 74b1e9a2 authored by kaiyou's avatar kaiyou
Browse files

Fix a typo when generating userinfo

parent 504427f3
No related branches found
No related tags found
No related merge requests found
......@@ -226,5 +226,5 @@ def oidc_userinfo(service_uuid):
client = Client.get_by_service(service_uuid) or flask.abort(404)
token = client.validate_token(flask.request)
profile = models.Profile.query.get(token["profile_uuid"])
return Client.generate_user_info(profile, token["scope"])
return client.generate_user_info(profile, token["scope"])
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment