SAML is creating error for local user log out

Can you check if you have

DISCOURSE_SAML_LOG_AUTH: true
DISCOURSE_SAML_DEBUG_AUTH: true

and see what is going on in /logs?