impostman icon indicating copy to clipboard operation
impostman copied to clipboard

bearer token not imported from postman collection

Open bingoUV opened this issue 3 months ago • 0 comments

Bug summary

I have a postman collection (attached test_postman_collection.json) with one entry, which has a bearer token for authentication. When imported using impostman-import-file - in either verb (verb.txt) or restclient (restclient.txt) output format, the bearer token is skipped. Importing the same file in postman or bruno works fine, and includes the bearer token.

Steps to reproduce

1. Open Emacs 2. M-x impostman-import-file 3. Select test_postman_collection.json 4. Select an empty json file for env file 5. Either verb or restclient as output format

Current behavior

Bearer token missing from imported file, so API doesn't work

Expected behavior

Bearer token should be incldued

Suggested solutions

Read the item.request.auth section in the imported json

Additional information


  • Impostman version (output of impostman-version):  impostman 0.3.0-snapshot
  • Emacs version (output of emacs-version):  GNU Emacs 30.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.2) of 2025-08-18

bingoUV avatar Oct 25 '25 05:10 bingoUV