You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Case 1: `REQUEST_SCOPES_EARLY: bool = False` => authenticate 2x on toy run, 0x on real run
2
-
- Case 2: `REQUEST_SCOPES_EARLY: bool = True` => authenticate 1x on toy run, 1x on real run
1
+
Run: `REQUEST_SCOPES_EARLY: bool = True` => authenticate 1x on toy run, 0x on real run (i.e., it achieves our goal)
3
2
4
-
| Code block | Case 1 | Case 2 |
5
-
| --- | --- | --- |
6
-
| TOY: `check_state_files``INI_PATH`|`/home/ac.forsyth2/.zstash.ini does NOT exist.`| Same |
7
-
| TOY: `check_state_files``GLOBUS_CFG`|`/home/ac.forsyth2/.globus-native-apps.cfg does NOT exist.`| Same |
8
-
| TOY: `get_local_endpoint_id`|`Added local_endpoint to ini file`, `Got local endpoint from NAME_TO_ENDPOINT_MAP`| Same |
9
-
| TOY: `native_client_login`| Pasting URL brings us to "Allow" screen immediately, paste auth code at command line | Prompt (login NOT required) for Argonne, prompt (login NOT required) for NERSC, "Allow" screen, paste auth code at command line |
10
-
| TOY: `transfer_client.submit_transfer` try/except | Prompt (login required) for Argonne, prompt (login required) for NERSC, "Allow" screen, paste auth code at command line, `Consents added, please re-run the previous command to start transfer`|`Bypassed 2nd authentication.`|
| REAL: `check_state_files``INI_PATH`|`/home/ac.forsyth2/.zstash.ini exists.`| Same |
13
-
| REAL: `check_state_files``GLOBUS_CFG`|`/home/ac.forsyth2/.globus-native-apps.cfg exists.`| Same |
14
-
| REAL: `get_local_endpoint_id`|`Got local_endpoint from ini file`, `Got local endpoint from NAME_TO_ENDPOINT_MAP` (implies the value retreived was `None`...) | Same |
15
-
| REAL: `native_client_login`| No logins or prompts | Pasting URL brings us to "Allow" screen immediately, paste auth code at command line |
16
-
| REAL: `transfer_client.submit_transfer` try/except |`Bypassed 2nd authentication.`| Same |
17
-
|`For real_run, skipped_second_auth=`|`True`| Same |
3
+
| Code block | Run |
4
+
| --- | --- |
5
+
| TOY: `check_state_files`|`INI_PATH: /home/ac.forsyth2/.zstash.ini does NOT exist.`, `GLOBUS_CFG: /home/ac.forsyth2/.globus-native-apps.cfg does NOT exist.`, `TOKEN_FILE: /home/ac.forsyth2/.zstash_globus_tokens.json does NOT exist.`|
6
+
| TOY: `get_local_endpoint_id`|`Added local_endpoint to ini file`, `Got local endpoint from NAME_TO_ENDPOINT_MAP`|
7
+
| TOY: `get_transfer_client_with_auth`|`No stored tokens found - starting authentication`, paste URL to web browser, Argonne prompt (no login), NERSC prompt (no login), Must add label (no default), "Allow", paste auth code to command line |
8
+
| TOY: `transfer_client.submit_transfer` try/except block |`Used fresh authentication - tokens now stored for next time`|
9
+
|`For toy_run, skipped_second_auth=`|`True`|
10
+
| REAL: `check_state_files`|`INI_PATH: /home/ac.forsyth2/.zstash.ini exists.`, `GLOBUS_CFG: /home/ac.forsyth2/.globus-native-apps.cfg does NOT exist.`, `TOKEN_FILE: /home/ac.forsyth2/.zstash_globus_tokens.json exists.`|
11
+
| REAL: `get_local_endpoint_id`|`Got local_endpoint from ini file`, `Got local endpoint from NAME_TO_ENDPOINT_MAP` (implies the value retreived was `None`...) |
12
+
| REAL: `get_transfer_client_with_auth`|`Found stored refresh token - using it`|
0 commit comments