Hi Andy,

Sorry - yesterday was a holiday here.

The easiest way to test out a token is to use the https://demo.scitokens.org/ service. It allows you to put whatever you want into the token and generates a valid signature (which, obviously, means you shouldn't enable such an insecure service beyond demos or tests). If you click on the "SET PAYLOAD TO ACCESS TO PROTECTED AREA", it'll generate a reasonable-looking token. The two things you probably want to change are:

Here's an example scitokens.cfg:

[Global]
audience = https://xrootd.example.com:8000

[Issuer DEMO]
issuer = https://demo.scitokens.org
# Prefix that's to be exported.
base_path = /protected/foo
# For controlling mapping, probably not needed for tests
default_user = brian

Brian


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1987/1599148019@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1987#issuecomment-1599148019", "url": "https://github.com/xrootd/xrootd/issues/1987#issuecomment-1599148019", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1