GitHub user Cccccrystall added a comment to the discussion: Quickstart Deployment Mode
Hi, Tim @bossenti ! I encountered some problems when I tried to deploy docker, and I would like to discuss them with you. Based on the scenario we discussed earlier, I should upload the default asset and wrap the process into docker so that the user can see the default asset after installing it with docker. The problem with this solution is that the jwt token obtained by the user login cannot be obtained during the docker deployment phase (the user has not logged in yet), because both requests (preview and upload) to upload the asset require authentication. If we use docker to implement the whole process directly, is there any secure way to get the jwt token? If the request which upload the asset is encapsulated in docker, there needs to be a way to obtain the token at the deployment stage. The potential solution may be: docker is used to encapsulate the asset. After the user logs in, we get the list of paths to obtain the asset through the defined api (get_asset), and then send two requests to upload the asset on the front end. GitHub link: https://github.com/apache/streampipes/discussions/1732#discussioncomment-6984917 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
