-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
First of all: Thank you for putting the time and efforts into this nice and useful helper tool!
We tried out cognitocurl for testing token retrieval from our aws cognito userpool. In the documentation it says when specifying the --token parameter the access token will be printed out. However we noticed that the id token is printed instead:
cognitocurl --cognitoclient <clientid> --userpool <userpool> --token --username <my-email> --password <pw>
=>
--- decoded token fragment ---
"event_id": "250be102-dff9-473b-92c3-70eacc35c515",
"token_use": "id",
"auth_time": 1644229920,
---
As we would also need the access token (and optimally also the refresh token) to be printed out it would be really useful to print that as well (maybe via a separate cmd line parameters - e.g. for easier parsing)
Thanks a lot!
cKuppel
Metadata
Metadata
Assignees
Labels
No labels