syl20lego / insomnia-plugin-aws-cognito-token

Insomnia plugin for AWS Cognito
MIT License
44 stars 8 forks source link

Refresh token should clear state, so it gets a new token from the endpoint #13

Open webbiscuit opened 3 years ago

webbiscuit commented 3 years ago

This would be useful for testing users in different groups and changing attributes on the Cognito side. Right now we have to wait for the token to expire before it fetches a new one to pick up the server changes.

syl20lego commented 3 years ago

Good idea, I will look into it ... at the moment you can change the user or any other field (remove last letter and re-add it) that should cause a refresh.