From 35f8c54309ecb06dd544d514250d5a6377c04894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 21 Oct 2020 17:43:20 +0200 Subject: [PATCH] Add an OIDC scope for fas attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- ipsilon/providers/openidc/plugins/account-scopes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ipsilon/providers/openidc/plugins/account-scopes.py b/ipsilon/providers/openidc/plugins/account-scopes.py index b350cab..d92d4a7 100644 --- a/ipsilon/providers/openidc/plugins/account-scopes.py +++ b/ipsilon/providers/openidc/plugins/account-scopes.py @@ -15,4 +15,8 @@ class OpenidCExtension(OpenidCExtensionBase): 'display_name': 'Fedora Account Signed Agreements', 'claims': ['agreements'] }, + 'https://id.fedoraproject.org/scope/fas-attributes': { + 'display_name': 'Fedora Account Attributes', + 'claims': ['ircnick', 'gpg_keyid', 'ssh_key', 'privacy'] + }, }