made progress: https://github.com/openpeer/op-identity-provider-server-php/issues/48