insomnia-plugin-github-apps-helper icon indicating copy to clipboard operation
insomnia-plugin-github-apps-helper copied to clipboard

After selecting "JSON Web Token" is still had to configure the "Edit Tag" prompt

Open gr2m opened this issue 6 years ago • 3 comments

Following the README instructions, it didn’t yet work for me after the step

Use auto-complete to select the JSON Web Token tag:

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

image

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

image

Should I have done something different for the environment variables to be recognized automatically?

gr2m avatar Feb 28 '19 18:02 gr2m

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:

screen shot 2019-02-28 at 1 21 30 pm

swinton avatar Feb 28 '19 19:02 swinton

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

image

Maybe explain for newbies like me how to add the variables to the base environment?

gr2m avatar Feb 28 '19 19:02 gr2m

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:

screen shot 2019-03-01 at 3 18 14 pm

{
  "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:

swinton avatar Mar 01 '19 21:03 swinton