Unable to add SSO application in nextcloud account

I am not able to add SSO SAML authentication in nextcloud account.

i am getting following error
App “SSO & SAML authentication” cannot be installed because the following dependencies are not fulfilled: The library mcrypt is not available.

Is it supported or not or if i am missing something ?