Forum Discussion
Nice! 🔥
And yeah the bear auth type is a good alternative for sure. Prob the "more official" way tbh. The only upside of my method of including "bearer" in the standard auth header is that you could swap between bear and LMv1 tokens more seamlessly. Could just be helpful for Support folks or people making the transition away from LMv1 tokens.
Yeah, i get that. I chose bearer auth for the more postmanic way of doing it and because setting up the swagger collection like this with LMv1 tokens would require more work (which is why i didn't do it before). The pre-request script would have to detect which type of auth your environment is using and switch between them.
I think steps 2-6 could be omitted if LM were willing to change that config in the source and republish. Since the json being imported is specific to v3 of the API, hardcoding that in shouldn't be an issue. That would make using postman a 3 step process: 1) import, 2) build your environment, 3) start making calls.