insomnia-plugin-github-apps-helper
insomnia-plugin-github-apps-helper copied to clipboard
After selecting "JSON Web Token" is still had to configure the "Edit Tag" prompt
Following the README instructions, it didn’t yet work for me after the step
Use auto-complete to select the
JSON Web Tokentag:
It showed the [JSON WEB TOKEN] with a red background. When I pressed on it, it showed me the prompt below and I had to configure the environment variables

I’m new to Insomnia, maybe I configured the environment variables wrong?
I created a folder "Custom" and configured environment variables through its context menu

Should I have done something different for the environment variables to be recognized automatically?
It showed the
[JSON WEB TOKEN]with a red background. When I pressed on it, it showed me the prompt below and I had to configure the environment variables
Hrmm. Thanks for reporting this. The intention is that you shouldn't have to do this, unless you need to override the environment variables set globally 🤔
Should I have done something different for the environment variables to be recognized automatically?
It may be that I'm looking in the wrong place for your environment variables. Can you see if it works if you define your env vars in the Base Environment? :bow:
⌘+E should take you there:

The "Edit Tag" prompt is not prefilled, but it works now nevertheless 👍

Maybe explain for newbies like me how to add the variables to the base environment?
I created a folder "Custom" and configured environment variables through its context menu
🤔 I just tried this and it works for me, I didn't have to use the base environment. Maybe we have our environments configured differently?
This is what I have in an override environment:

{
"github_app_id": 1111,
"github_app_installation_id": 555555,
"github_app_private_key_path": "/Users/swinton/certs/my-app.YYYY-MM-DDDD.private-key.pem"
}
@gr2m can you try again with this format in the non-base environment. Please let me know if it's still not working for you that way :bow: