From 93c8e446d30296f853d858497d1f03158ed26814 Mon Sep 17 00:00:00 2001 From: Matyas Selmeci Date: Tue, 19 Oct 2021 13:35:21 -0500 Subject: [PATCH] Use the issuer as the name for the issuer block in the scitokens config; this lets us have multiple issuers for a single path --- src/stashcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stashcache.py b/src/stashcache.py index 153d89269..65ef1056b 100644 --- a/src/stashcache.py +++ b/src/stashcache.py @@ -379,7 +379,7 @@ def generate_cache_scitokens(vo_data: VOsData, resource_groups: List[ResourceGro def _get_scitokens_issuer_block(vo_name: str, scitokens: Dict, dirname: str, suppress_errors: bool) -> str: template = """\ -[Issuer {dirname}] +[Issuer {issuer}] issuer = {issuer} base_path = {base_path} {restricted_path_line}