This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/saml_idp/processors/gitlab.py

13 lines
389 B
Python

"""GitLab Processor"""
from passbook.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', '')