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

When authentication succeeds but operation fails authentication token is not cached #1675

Open
hramrach opened this issue Dec 4, 2024 · 0 comments
Labels

Comments

@hramrach
Copy link

hramrach commented Dec 4, 2024

Describe the bug
When authentication succeeds but operation fails authentication token is not cached

Versions

  • Operating system: openSUSE Leap 15.6
  • Packages: osc-1.9.0-150400.10.6.1.noarch

To Reproduce
Steps to reproduce the behavior:

  1. clear authentication token (or have one that is expired)
  2. osc sr nonexistent nonexistent someproject
  3. authenticate

Expected behavior
Authentication token is cached after successful authentication, regardless of operation success

Additional context
Seen with internal build service and SSH authentication

@hramrach hramrach added the Bug label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant