yuluo-yx opened a new issue, #2710: URL: https://github.com/apache/rocketmq-dashboard/issues/2710
## Problem `AuthCookie.authorization` currently reads the session cookie before the `Authorization` header. API clients that explicitly send a fresh Bearer token can therefore be authenticated with a stale browser cookie instead. ## Expected behavior A non-empty Bearer credential supplied for the current request should take precedence. Empty or non-Bearer headers should continue to fall back to the session cookie. ## Proposed scope Adjust the credential selection order and add focused regression coverage for the precedence and fallback cases. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
