I have successfully implemented an OAuth 2.0 authentication scheme with AWS Cognito.
However, I don’t understand how to logout the user (needed especially for testing operations). I have tried logging out or deleting the user directly from the Cognito web interface without success: from the SmartThings application adding the device does not show me the login web page but calls the webhook directly (as if it remembers the previous login).
How can I do to force the logout?
Thank you,
available for further information,
Federico.
PS: in my previous implementation with Keycloak (instead of AWS Cognito) the “INTEGRATION-DELETED” response was not needed. However, it is not a problem
Do you mean you could close the session somehow and delete all the devices without this callback?
Generally, when you close the session with your cloud, the devices remain and the user is asked to log in again to continue using those devices, so, I don’t know the observed behavior in the other case.