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

Authentication mode set on tool does not get respected when it is added again to an agent (after being deleted previously in global auth enabled mode). #1570

Open
sangee2004 opened this issue Feb 1, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@sangee2004
Copy link

Steps to reproduce the problem

  1. Create agent with tool - github using oauth as authentication mode.
  2. Pre authenticate the tool.
  3. Remove this tool.
  4. Add github tool again this time choosing PAT

Tool will get added into pre authenticated mode ( User was not promoted for PAT tokens)

Removing tool is step 3 does not result in agent level credential for the tool to be removed.

Expected Behavior:
When tool is being added to an agent that already has credential set (like in step 4) , user should not be allowed to pick an oauth mode that is different from the credential that already exists.

Or we should be able to clear the existing agent credential and add the tool as being not in pre authenticated mode.

@sangee2004 sangee2004 added the bug Something isn't working label Feb 1, 2025
@sangee2004 sangee2004 changed the title Authentication mode set on tool does not get respected when it is added again to an agent (after being deleted previously being in global auth enabled mode). Authentication mode set on tool does not get respected when it is added again to an agent (after being deleted previously in global auth enabled mode). Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant