Even after globalSignOut from cognito, temporary Keys are active


#1

I am trying to block concurrent sessions in cognito. Here I am using a globalSignOut in preAuthentication trigger.
I am still able to access the services using the temporary keys for one hour from the time of generation.
I am using cognito as identity provider for my mobile App.
Could you please let me know how can I expire the temporary keys and block concurrent sessions in cognito?


#2

Hmm I haven’t played around the globalSignOut method. But the one hour number is the general timeout for the sessions.