Bearer Token wizard would save a lot of time, complexity & bad practice #2283
billhannah
started this conversation in
Ideas
Replies: 1 comment
-
Sounds reasonable to have common auth methods in the header section |
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
-
At the company I work for, most of my co-workers use Postman. Personally, I refused for a long time.
I had been using Insomnia for a while, and I found it much easier to use. But with their most recent release they lost my trust, and I will no longer be using their product. So, I'm looking for a replacemet.
One thing I really loved about Insomnia was how easy it was to get a bearer token. I would set up a Form Post request to the token server that had the form fields & authoriziation header. Then on the query, there was a tab for Auth Type, and
Bearer
is an option. If i chose that, there was a field forToken
. This could be set as the response from one of my form post requests & I could put an XPath value for the path to the token value. Made setting up new queries so much easier.But you seem to be doing the "Postman" way - needing to write the same javascript over and over again to get the token, set it as an environment variable, then manually set a header to pull the token out of the environment variable.
Authorization methods are standardized - this work could and should be automated so we don't need to keep copy/pasting JS code to perform a standard workflow.
Beta Was this translation helpful? Give feedback.
All reactions