Skip to content

bearer token not imported from postman collection #8

@bingoUV

Description

@bingoUV

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions