lvshaokang opened a new issue, #2290:
URL: https://github.com/apache/incubator-streampark/issues/2290

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   swagger authorization token used token contains `Bearer ` prefix cause 
authorization failed, like this:
   ```
   curl -X POST "http://localhost:10000/flink/alert/list?pageNum=1&pageSize=10"; 
-H "accept: */*" -H "Authorization: Bearer ${token}" -H "Content-Type: 
application/json" -d ""
   ```
   
   ### StreamPark Version
   
   latest
   
   ### Java Version
   
   _No response_
   
   ### Flink Version
   
   No relation
   
   ### Scala Version of Flink
   
   No relation
   
   ### Error Exception
   
   ```log
   401 Unauthorized
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to