Skip to content

Expiry time of Identity Token is not parsed correctly with floats #9170

Closed

Description

@rolfvandekrol

Expected Behavior

When using the OAuth 2.0 Auth type, use the grant type Authorization Code. In the overview of tokens it shows a field for Identity Token. This Identity Token is a JWT of which above the field the expiry of the token is shown. This currently works fine when the expiry in the JWT is an integer. But when it is a float, this should also work.

Actual Behavior

1758709105.549083 translates to 'Expires 56 years ago'. I assume that this float is interpreted as Unix Epich Time 0, so January 1st 1970 and the years are rounded.

Reproduction Steps

No response

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

No response

Insomnia Version

11.6.1

What operating system are you using?

macOS

Operating System Version

macOS Sequoia 15.6.1

Installation method

package download from website

Last Known Working Insomnia version

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

B-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