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

Is there any way to login automatically and get the ticket? #221

Open
NeuroWhAI opened this issue Oct 20, 2021 · 1 comment
Open

Is there any way to login automatically and get the ticket? #221

NeuroWhAI opened this issue Oct 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@NeuroWhAI
Copy link

Is your feature request related to a problem? Please describe.
Thank you for providing a good extension.
I've seen this plugin use the -s parameter to login when there is a password set in the option.
But in this case, It does not get the ticket.
I'm in a situation where I can't use the -P parameter. (Because of my company's policy?)
So, I need to login without -s parameter to get the ticket.
If I don't provide a password in the option, it looks like using the ticket without the -s parameter.
But, In that situation, I need to input my password manually first.
Is there any way to login automatically and get the ticket?

Describe the solution you'd like
Maybe we can provide option to always use the ticket. (= Not use -s parameter when login.)

Describe alternatives you've considered

Additional context

@NeuroWhAI NeuroWhAI changed the title Is there any way to use ticket when the password option is set Is there any way to login automatically and get the ticket? Oct 20, 2021
@mjcrouch
Copy link
Owner

Hi, thanks for raising.

The -s flag is only being used to check whether the user is logged in before attempting to run some of the commands (though I'm not sure it's really necessary, IIRC it might make the error message slightly clearer). If you have a password set in the options then it expects -P to work.
While you can still manually log in with a password, I don't think it would be hard just to add another setting that triggers the login flow (without -s) automatically with your supplied password when you first open the folder.

I'll try and look at making this change soon when I have a little time.

@mjcrouch mjcrouch added the enhancement New feature or request label Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants