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: with_items:
- account-scopes - account-scopes
- mbs - mbs
- beaker
notify: notify:
- reload apache - reload apache
tags: tags:

View file

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