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?
Hmm I haven’t played around the globalSignOut
method. But the one hour number is the general timeout for the sessions.