Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth-session-init asks for password twice #103

Open
JoshuaUrrutia opened this issue Jun 19, 2019 · 3 comments
Open

Auth-session-init asks for password twice #103

JoshuaUrrutia opened this issue Jun 19, 2019 · 3 comments

Comments

@JoshuaUrrutia
Copy link
Contributor

JoshuaUrrutia commented Jun 19, 2019

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.

@ajamthetacc
Copy link

ajamthetacc commented Jul 16, 2019

We faced an issue with entering password twice. A bunch of our workshop users gave the token second time it asked for password, which made it to fail and their client was half created but not initialized. Can someone look into this issue soon? Thanks

@mwvaughn
Copy link
Contributor

mwvaughn commented Jul 16, 2019 via email

@ajamthetacc
Copy link

thanks Matt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants