oauth2
oauth2 copied to clipboard
Marshalling Token produces incompatible token
When you marshal oauth2.Token
e.g. to JSON, resulting token can't be used in the same way anymore.
Fields embedded in raw
field aren't going into JSON, thus when you unmarshal token back to oauth2.Token
, you can't use Extra
method to extract fields.
Seems this is by design.
Seems this is by design.
Could you elaborate please?