Skip to content

Auth-session-init asks for password twice #103

Description

@JoshuaUrrutia

Describe the bug
Not a huge issue, but a little annoying/redundant. Auth-session-init makes you enter your password twice.

To Reproduce
Steps to reproduce the behavior:

urrutia$ docker run --rm -it jurrutia/agave_cli:3.0.2
root@a754c2e8d6e6:/# auth-session-init
ID                   NAME                                     URL                                               
araport.org          Araport                                  https://api.araport.org/                          
designsafe           DesignSafe                               https://agave.designsafe-ci.org/                  
bridge               Bridge                                   https://api.bridge.tacc.cloud/                    
sgci                 Science Gateways Community Institute     https://sgci.tacc.cloud/                          
irec                 iReceptor                                https://irec.tenants.prod.tacc.cloud/             
tacc.prod            TACC                                     https://api.tacc.utexas.edu/                      
vdjserver.org        VDJ Server                               https://vdj-agave-api.tacc.utexas.edu/            
agave.prod           Agave Public Tenant                      https://public.agaveapi.co/                       
sd2e                 SD2E Tenant                              https://api.sd2e.org/                             
3dem                 3dem Tenant                              https://api.3dem.org/                             
portals              Portals Tenant                           https://portals-api.tacc.utexas.edu/              
iplantc.org          CyVerse Science APIs                     https://agave.iplantc.org/                        

Please specify the ID for the tenant you wish to interact with: sd2e
Creating a client...
API username: urrutia
API password: 
Created client a754c2e8d6e6 - Autogenerated client
Getting oauth bearer tokens...
API password: 
root@a754c2e8d6e6:/#

Expected behavior
You only enter your password once

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

docker image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions