The result of the flows is a response from the Token endpoint. The JSON response is the default output but it would be useful to enable additional options to simply output one of the token values, like the refresh token or the access token. The idea is to reduce the requirement of having additional tools on the host computer.
A possible implementation could be to support:
--output [access_token, refresh_token, id_token] : determine whether to restrict output to a particular token
--outout-format [raw, json] : determine how the token should be printed: raw or as decoded JSON
The result of the flows is a response from the Token endpoint. The JSON response is the default output but it would be useful to enable additional options to simply output one of the token values, like the refresh token or the access token. The idea is to reduce the requirement of having additional tools on the host computer.
A possible implementation could be to support:
--output [access_token, refresh_token, id_token] : determine whether to restrict output to a particular token
--outout-format [raw, json] : determine how the token should be printed: raw or as decoded JSON