Files
authentik/passbook/saml_idp/processors/gitlab.py
Jens Langhammer fbaab4efaf Many broken things
2018-11-16 09:10:35 +01:00

17 lines
411 B
Python

"""
GitLab Processor
"""
from supervisr.mod.auth.saml.idp.base import Processor
class GitLabProcessor(Processor):
"""
GitLab Response Handler Processor for testing against django-saml2-sp.
"""
def _determine_audience(self):
# Nextcloud expects an audience in this format
# https://<host>
self._audience = self._remote.acs_url.replace('/users/auth/saml/callback', '')