Closed richardxia closed 5 months ago
Also, I've done some pretty extensive testing with this, since I did the entire development of the hooking up of the Bookmarks API with this change, so I'm pretty confident that this is all that needs to change.
We have two different notions of user IDs: one from Auth0, which is a string and is contained in the JWT, and one from our own API, which is an integer. This renames the
id
field within the auth state toexternalId
, to make it clearer that these are from the identity provider.I wanted to split this off from a much larger PR I'm making, since this is kind of important on its own, and I didn't want it to get lost in the noise.