Get username with SAML authentication in iOS
I try to retrieve the username who has just registered.
To register on the server, I use a SAML authentication with MALLogonUIViewManager that shows me a webpage that comes directly from the server.
Authentication is successful but when I try to retrieve the username, I use the code:
MAFLogonRegistrationData * data = [self.logonHandler.logonManager registrationDataWithError: & error];
and inside, my username is empty and my password is nil.
How can I do to get the name of the user who has just registered with this type of authentication ?