Inconsistent value of SCM provider name in the Personal Access Tokens list. #22802
Labels
area/che-server
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P2
Has a minor but important impact to the usage or development of the system.
Describe the bug
Oauth token secrets are generated with a random string instead of provider name in the token name annotation.
Che version
7.80@latest
Steps to reproduce
See: a random string is displayed as provider name value:
Expected behavior
Proper provider name must be shown.
Runtime
OpenShift
Screenshots
No response
Installation method
chectl/next
Environment
macOS
Eclipse Che Logs
No response
Additional context
I see several solutions:
oauth2-github
. Theoauth2
prefix would be a flag to distinguish oauth tokens from PAT.token name
annotation toprovider name
and adding a new annotationis oath token
with a boolean flag. This would require a migration mechanism to support previously added token secrets.The text was updated successfully, but these errors were encountered: