-
Notifications
You must be signed in to change notification settings - Fork 6
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
Asking for a token splits important info into two different locations #340
Comments
Quick exploration suggests the issue is with Edit: And there we go: |
In opposition to the `Credential`'s in datalad core, the CredentialManager splits the prompting text and the input retrieval when asking for a property or secret by calling `ui.message` and then `ui.question`. While this is kinda fine with CLI, other `ui` backends like gooey can't handle this properly (leading to datalad/datalad-gooey#340). The `title` parameter of `ui.question` is intended for the prompting text, which is somewhat misleading by name.
So, this is a two-part issue. Part one is, that Part two is, that gooey's |
The input dialog just says "token", while in the command log it states "An access token is required for https://gin.g-node.org. Visit https://gin.g-node.org/user/settings/applications to create a token" -- which is much more useful, but in a different window in the background.
The text was updated successfully, but these errors were encountered: