Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Get username with SAML authentication in iOS

Hi all,

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 ?

Regards

Tags:
Former Member
Former Member replied

Finally, I have not found how to do, so I bypassed the problem: I identify via SAML, so when I make my first request, the server already knows who I am, so I added the username in the response of my first web service.

Regards

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question