In our implementation of Platform SSO, we would like to show custom UI in both the beginDeviceRegistration
call as well as the beginUserRegistration
call.
It works fine in the beginDeviceRegistration
call when we use presentRegistrationViewController
. When we try to apply the same logic in beginUserRegistration
, the ViewController's view.window
object is nil
and thus using it to house our custom UI doesn't work.
I'm not sure if this is an implementation flaw on our part or if presentRegistrationViewController
is only intended to be used in beginDeviceRegistration
. The call is only mentioned in the context of registering devices, which makes us wonder if it is limited to that.
Any help would be appreciated!