Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.84k stars 1.97k forks source link

OAuth secret can't contain Nunjucks comment symbols #3365

Closed LeandroBarone closed 1 year ago

LeandroBarone commented 3 years ago

My OAuth secret cointains the Nunjucks comment opening symbol {#, so this request can't be made:

image

My workaround was generating a different secret that doesn't include {#

madrigal1 commented 3 years ago

in insomnia, nunjunks environments are used to get the definitions of the template tags

relevant file: insomnia-app->app->templating->index.ts function: getTagDefinitions

official docs reference: https://support.insomnia.rest/article/171-template-tags

kreosus commented 1 year ago

Hi @madrigal1, are you able to reproduce the issue on our latest release: https://github.com/Kong/insomnia/releases/tag/core%402022.7.5?