Custom uri scheme

I am loading the signicat page in the external SFSafariViewController. How to redirect back to the iOS app after the MitID approval is done? I passed the valid custom uri scheme like (“appname://”) in the redirect_uri. But still it is not redirect to back.

Is custom uri scheme will be supported in signicat? or we have to use only the url contains https or http?