EsperoTech / yaade

Yaade is an open-source, self-hosted, collaborative API development environment.
MIT License
1.56k stars 68 forks source link

Secrets not work. #133

Closed popescuvitor closed 8 months ago

popescuvitor commented 8 months ago

When I make a request by passing a secret according to the documentation, the secret is not being converted.

Respondendo ao cliente... 192.168.96.2 - - [30/Jan/2024 14:05:49] "GET / HTTP/1.1" 200 - Headers da Solicitação GET: user-agent: Vert.x-WebClient/4.5.1 Authorization: somesome:$S{secretKey}

Screenshot from 2024-01-30 14-15-19

jonrosner commented 8 months ago

Is the secret correctly defined in your environment that you selected? Secrets only work using the server proxy.

popescuvitor commented 8 months ago

Yes, it is! image

jonrosner commented 8 months ago

Thanks for pointing this out. Can reproduce the bug. I will fix it and push a bugfix asap.

popescuvitor commented 8 months ago

You're welcome, thank you very much for the response, and congratulations on the project. Whenever possible, I will try to contribute.

jonrosner commented 8 months ago

I pushed a fix and released it to the nightly branch.

You can test it by running

docker run -d --restart=always -p 9339:9339 \
    -e YAADE_ADMIN_USERNAME=admin -v yaade:/app/data \
    --name yaade esperotech/yaade:nightly

Tell me if it solves the problem for you.

popescuvitor commented 8 months ago

It worked, congratulations! You're really awesome!