Skip to content

Add output formatting options #19

@jentz

Description

@jentz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions