Beaker openidc scope declaration.
This commit is contained in:
parent
0480a30a18
commit
e16ddd4d53
3 changed files with 16 additions and 1 deletions
14
roles/ipsilon/files/oidc_scopes/beaker.py
Normal file
14
roles/ipsilon/files/oidc_scopes/beaker.py
Normal 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': [],
|
||||||
|
},
|
||||||
|
}
|
|
@ -33,6 +33,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- account-scopes
|
- account-scopes
|
||||||
- mbs
|
- mbs
|
||||||
|
- beaker
|
||||||
notify:
|
notify:
|
||||||
- reload apache
|
- reload apache
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -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' %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue