indigo-iam / wlcg-jwt-compliance-tests

Prototype WLCG TPC testsuite using JWT authN/Z
1 stars 11 forks source link

Add support for different oidc-agent accounts #2

Closed paulmillar closed 3 years ago

paulmillar commented 3 years ago

Motivation:

Not everyone has the WLCG OP configured within oidc-agent with the (short) account name 'wlcg'.

Modification:

Define a variable through which the oidc-agent account name may be configured, using a robot command-line like:

-v oidc-agent.account:WLCG

or, with the current runner script:

ROBOT_ARGS="-v oidc-agent.account:WLCG" ./run-testsuite.sh

Result:

The conformancy tests can now use tokens from a user-defined oidc-agent account.

andreaceccanti commented 3 years ago

Thanks!