changed remote_idp to a define