clockworklabs / SpacetimeDB

Multiplayer at the speed of light
https://spacetimedb.com
Other
4.41k stars 110 forks source link

Decode identity correctly #1952

Closed jsdt closed 2 weeks ago

jsdt commented 2 weeks ago

Description of Changes

The token show command was decoding tokens in a way that required the identity field to be set. When we parse tokens from clients, we can compute the identity from the other claims. This PR fixes the token show command to do the same.

Expected complexity level and risk

1

Testing

@bfops tested this manually.