XeroAPI / xoauth

A CLI tool for obtaining JWTs from OpenId Connect providers
MIT License
49 stars 16 forks source link

Unix timestamps displayed using scientific notification #21

Open judgej opened 3 years ago

judgej commented 3 years ago

Running Windows x64 version. Works beautifully smoothly, giving me the token details in the CLI window and the local http://localhost:8080/callback webpage.

This is a display issue on the web page listing the ID token claims:

It does not look like any digits are missing, but having to convert 1.613386373e+09 to 1613386373 before it can be used is a mild inconvenience.

It would be nice if these timestamps were also displayed in a human-readable format too, just to help in understanding the data, but not essential.

Trivial, but just logging it for visibility.