Closed bwalsh closed 3 years ago
Retried test with suggested access token endpoints.
Decoded the resulting tokens. Unsurprisingly, the iss
field for the endpoint that works matches the gen3_endpoint.
cat ~/.fissconfig
[DEFAULT]
root_url=https://firecloud-orchestration.dsde-dev.broadinstitute.org/
debug=True
python3 -m pytest --user_email compbio.ohsu@gmail.com --log-level DEBUG --gen3_endpoint https://staging.datastage.io --terra_auth_url https://broad-bond-dev.appspot.com/api/link/v1/fence/accesstoken tests/integration/test_auth.py
{
"pur": "access",
"aud": [
"openid",
"google_credentials",
"4EmZnWKVMoPyhdJMh7EB8SSl3Uojo20QfsAR77gu"
],
"sub": "250",
"iss": "https://staging.datastage.io/user",
"iat": 1579736107,
"exp": 1579737307,
"jti": "4496456a-cd15-4370-aa35-f498308f5f27",
"context": {
"user": {
"name": "WALSBR",
"is_admin": false,
"google": {
"proxy_group": null
},
"projects": {}
}
},
"azp": "4EmZnWKVMoPyhdJMh7EB8SSl3Uojo20QfsAR77gu"
}
python3 -m pytest --user_email compbio.ohsu@gmail.com --log-level DEBUG --gen3_endpoint https://staging.theanvil.io --terra_auth_url https://broad-bond-dev.appspot.com/api/link/v1/fence/accesstoken tests/integration/test_auth.py
{
"pur": "access",
"aud": [
"openid",
"google_credentials",
"4EmZnWKVMoPyhdJMh7EB8SSl3Uojo20QfsAR77gu"
],
"sub": "250",
"iss": "https://staging.datastage.io/user",
"iat": 1579736326,
"exp": 1579737526,
"jti": "8569decf-5975-4d47-9ae5-0e74372dc333",
"context": {
"user": {
"name": "WALSBR",
"is_admin": false,
"google": {
"proxy_group": null
},
"projects": {}
}
},
"azp": "4EmZnWKVMoPyhdJMh7EB8SSl3Uojo20QfsAR77gu"
}
python3 -m pytest --user_email compbio.ohsu@gmail.com --log-level DEBUG --gen3_endpoint https://staging.theanvil.io --terra_auth_url https://broad-bond-dev.appspot.com/api/link/v1/dcf-fence/accesstoken tests/integration/test_auth.py
{
"pur": "access",
"aud": [
"openid",
"google_credentials",
"OnUikYtSzOK7cKYQgLjWLOzclR4MPbSuVAVPAroK"
],
"sub": "5804",
"iss": "https://nci-crdc-staging.datacommons.io/user",
"iat": 1579736489,
"exp": 1579737689,
"jti": "103f4d63-2ca8-460c-b18b-2b97962e07de",
"context": {
"user": {
"name": "WALSBR",
"is_admin": false,
"google": {
"proxy_group": null
},
"projects": {}
}
},
"azp": "OnUikYtSzOK7cKYQgLjWLOzclR4MPbSuVAVPAroK"
}
After setting client up per documentation, client unable to authenticate with endpoint. The data flow for the client is documented here
Terra Account setup:
Gen3 Account setup:
Note: the client works against the https://staging.datastage.io endpoint
Gen3 Account setup: