AWS Cognito logout

I’m having trouble with this as well. I have a streamlit app behind an ALB that uses Cognito for authentication. Ending a user’s session appears to require a call to Cognito’s logout endpoint and invalidating the session cookies (default name AWSELBAuthSessionCookie). The latter does not seem to be possible within streamlit - the cookies are HTTPOnly according to this thread.

I’ve attempted to read and set the session cookie’s value with extra-streamlit-components but the HTTPOnly cookies do not appear to be read by that package or _get_websocket_headers().