Many broken things
This commit is contained in:
17
passbook/saml_idp/processors/wordpress_orange.py
Normal file
17
passbook/saml_idp/processors/wordpress_orange.py
Normal file
@ -0,0 +1,17 @@
|
||||
"""
|
||||
WordpressOrange Processor
|
||||
"""
|
||||
|
||||
from supervisr.mod.auth.saml.idp.base import Processor
|
||||
|
||||
|
||||
class WordpressOrangeProcessor(Processor):
|
||||
"""
|
||||
WordpressOrange Response Handler Processor for testing against django-saml2-sp.
|
||||
"""
|
||||
|
||||
def _determine_audience(self):
|
||||
# Orange expects an audience in this format
|
||||
# https://<host>/wp-content/plugins/miniorange-saml-20-single-sign-on/
|
||||
self._audience = self._remote.acs_url + \
|
||||
'wp-content/plugins/miniorange-saml-20-single-sign-on/'
|
||||
Reference in New Issue
Block a user