I have configured SAML for rocketchat. I created SAML2 SSO Web for rocketchat, this is my service Provider
Issuer : https://rchat.domain.net/_saml/metadata/rchat_SP
Assertion Url : https://rchat.domain.net/_saml/validate/rchat_SP
Enable logout
Logout url : https://rchat.domain.net/_saml/logout/rchat_SP
Enable attribute profile
Include attribute in Response always
In Rocketchat side, i have configured SAML :
Issuer : https://rchat.domain.net/_saml/metadata/rchat_SP
Login url : https://wso2.domain.net:9443/samlsso
Logout url : https://wso2.domain.net:9443/samlsso
Attribute uid mapped to : http://wso2-org/claims/username
Attribute field mapping :
{“http://wso2-org/claims/username":"username”, “http://wso2-org/claims/emailaddress":"email”, “http://wso2.org/claims/fullname":"cn”}
There is no problem with log in. But when i log out, i’m redirected to the user’s session again. In the logs, i have this error:
TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type undefined at Function.from (buffer.js:305:9) at new Buffer (buffer.js:265:17) at SAML.validateLogoutResponse (app/meteor-accounts-saml/server/saml_utils.js:374:33) at middleware (app/meteor-accounts-saml/server/saml_server.js:604:12) at app/meteor-accounts-saml/server/saml_server.js:704:3 { code: ‘ERR_INVALID_ARG_TYPE’ }
I’m using rocketchat 3.0.3. I have searched in my rocketchat files, i can’t find app/meteor-accounts-saml folder
Help me solve this issue.