Skip to content

Commit

Permalink
Merge pull request #2098 from matyasselmeci/pr/stashcache-issuer-sect…
Browse files Browse the repository at this point in the history
…ion-name

Use the issuer as the name for the issuer block in the scitokens config; this lets us have multiple issuers for a single path
  • Loading branch information
matyasselmeci authored Oct 19, 2021
2 parents 366c4b9 + 93c8e44 commit c8c74a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stashcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit c8c74a9

Please sign in to comment.