You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "lvshaokang (via GitHub)" <gi...@apache.org> on 2023/02/02 03:02:41 UTC

[GitHub] [incubator-streampark] lvshaokang opened a new issue, #2290: [Bug] token authorization failed from swagger-ui

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: issues-unsubscribe@streampark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-streampark] wolfboys closed issue #2290: [Bug] token authorization failed from swagger-ui

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys closed issue #2290: [Bug] token authorization failed from swagger-ui
URL: https://github.com/apache/incubator-streampark/issues/2290


-- 
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: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org