Skip to content

Credentials - Provide a way to re prompt user for credentials when they are already present. #246

Open
@sangee2004

Description

@sangee2004

gptscript version - v0.0.0-dev-f4284f43-dirty

Steps to reproduce the problem:

  1. Execute the following script that has tools with credentials.
Tools: github.com/sangee2004/slack/toolcred.gpt
search messages in slack and list all messages that have mentioned Disney in the past month
  1. When prompted for credentials , provide an invalid value. This will result in the script execution to fail. But credentials will be stored.
  2. Execute the script again. User will not be prompted and existing credential (from step2) will get used and the script execution will fail. This as expected.

For user to get out of this state , users needs to delete the credentials using gptscript credentials delete and rerun the script which will result in user being prompted to enter credentials.

It would be good to have an option to allow for prompting user for entering credentials (even when they are already present) to allow for rewriting the existing credentials (that might be incorrect or expired credentials).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions