Updated coverage data and tweaked an OpenIDtest and scope description.
- Legacy-Id: 18485
This commit is contained in:
parent
e6f6f4697a
commit
2956d51ee9
|
@ -833,6 +833,7 @@ class OpenIDConnectTests(TestCase):
|
|||
for key in [ 'email', 'family_name', 'given_name', 'meeting', 'name', 'roles',
|
||||
'ticket_type', 'reg_type', 'affiliation', 'picture', ]:
|
||||
self.assertIn(key, userinfo)
|
||||
self.assertTrue(userinfo[key])
|
||||
self.assertIn('remote', set(userinfo['reg_type'].split()))
|
||||
self.assertNotIn('hackathon', set(userinfo['reg_type'].split()))
|
||||
|
||||
|
|
|
@ -227,7 +227,7 @@ def openid_userinfo(claims, user):
|
|||
|
||||
oidc_provider.lib.claims.StandardScopeClaims.info_profile = (
|
||||
'Basic profile',
|
||||
'Access to your basic datatracker information: Name, photo.'
|
||||
'Access to your basic datatracker information: Name and photo (if present).'
|
||||
)
|
||||
|
||||
class OidcExtraScopeClaims(oidc_provider.lib.claims.ScopeClaims):
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue