Beaker openidc scope declaration.

This commit is contained in:
Ralph Bean 2017-04-12 15:06:43 +00:00
parent 0480a30a18
commit e16ddd4d53
3 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,14 @@
from __future__ import absolute_import
from ipsilon.providers.openidc.plugins.common import OpenidCExtensionBase
class OpenidCExtension(OpenidCExtensionBase):
name = 'beaker'
display_name = 'Beaker Jobs'
scopes = {
'https://beaker-project.org/oidc/scope': {
'display_name': 'Full CRUD permissions to your beaker account',
'claims': [],
},
}

View file

@ -33,6 +33,7 @@
with_items:
- account-scopes
- mbs
- beaker
notify:
- reload apache
tags:

View file

@ -25,7 +25,7 @@ global enabled=persona,openid,saml2,openidc
{% if env == "production" %}
openidc enabled extensions=fedora-account,mbs
{% else %}
openidc enabled extensions=fedora-account,mbs
openidc enabled extensions=fedora-account,mbs,beaker
{% endif %}
{% if env == 'staging' %}