User Access¶
DACO Authentication¶
SONG servers use the auth.icgc.org OAuth2 authorization service to authorize secure API requests. In order to create the neccessary access tokens to interact with the song-python-sdk and the SONG server, the user must have DACO access. For more information about obtaining DACO access, please visit the instructions for DACO Cloud Access.
OAuth2 Authorization¶
With proper DACO access, the user can create an access token, using the Access Tokens and Token Manager instructions.
For each cloud environment, there is a specific authorization scope that is needed:
- For the Collaboratory - Toronto SONG Server (https://song.cancercollaboratory.org), the required authorization scope needed is collab.upload.
- For the AWS - Virginia SONG Server (https://virginia.song.icgc.org), the required authorization scope needed is aws.upload.