Skip to content

Functionality "Refresh Token" in tab "OAuth 2" does not get authentication token #5820

@leomarcamargo

Description

@leomarcamargo

Expected Behavior

The authentication token should be generated normally, as it was generated in versions prior to version 2021.5.3 regardless of the application environment.

Actual Behavior

Since version 2021.5.3 I cannot use the Refresh Token functionality in a local environment because whenever I click on the Refresh Token button I get the error Failed to fetch token url=https://localhost:5001/connect/token status=0 no description provided. However, if I point it to any environment other than localhost, the functionality presents no problem.

This functionality, until version 2021.5.3, works without any problems, but since then I can no longer use it with the new versions. Also, when I click on Response Timeline, no information is shown on the screen. See the images below:

https://prnt.sc/wMfyHsCQpS88
https://prnt.sc/Xu9dRoy_qmRi
https://prnt.sc/gyOAUv8ZIiLP

Reproduction Steps

  1. In the OAuth 2 tab , enter the necessary data of grant type, access token url, client id and client secret;
  2. Click on the Refresh Token button.

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

2022.7.5

What operating system are you using?

Windows

Operating System Version

Windows 10

Installation method

Download from Insomnia

Last Known Working Insomnia version

2021.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-oauthArea: OAuthB-bugBug: general classificationS-unverifiedStatus: Unverified by maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions