Replies: 2 comments 1 reply
-
|
Hi, Thank you for your feedback. You can use environment variables to help centralize credentials at the collection-level. You can define your API keys, token or credentials as environment variables, and then reference them in your requests using ({{ variable_name }}. Could you clarify if this approach would meet your requirement? Understanding this will help us capture the use case accurately. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hi, A feature request has been raised to add collection-level authentication for API's in insomnia. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I know folder-level auth is a thing, but it would be nice to be able to define authentication for the whole collection.
I don't think folder-level authentication really fits the case for a single API that can change freqeuently. When I create a collection from an OpenAPI spec, I then have to move all of those endpoints into a parent folder in order to share the same auth method. When I reimport the spec after changes are made, I have to delete the old endpoints from the folder and then move the new endpoints into the folder.
Beta Was this translation helpful? Give feedback.
All reactions