...
| Code Block |
|---|
|
[ashtimmerman@ui-tier1 ~]$ export BEARER_TOKEN=$(oidc-token <client_name>)
|
and to inspect the content of the JWT, the jq tool can be used:
| Code Block |
|---|
|
[ashtimmermanus@ui-tier1 ~]$ oidc-token axy | jq -R 'split(".")[1] | @base64d | fromjson' |
The token will be valid for 60 minutes. It , but a new token can be obtained a new token issuing the oidc-token command again.
At the end, stop oidc-agent daemon:
...
| Code Block |
|---|
|
[ashtimmermanus@ui-tier1 ~]$ oidc-add -a
The following account configurations are currently loaded:
axy
|
To inspect the content of the JWT, you can use the jq tool:
| Code Block |
|---|
|
[ashtimmermanus@ui-tier1 ~]$ oidc-token axy | jq -R 'split(".")[1] | @base64d | fromjson' |