As companies increasingly use MicroStrategy Mobile, they may need the ability to customize authentication on the app. The MicroStrategy Mobile SDK has several methods open for this, but very few samples to explain how to use them. We will show how you can intercept the user’s credentials and change them on the client side before passing them to the mobile server. Specifically, we will be passing the user-entered credentials to a third-party to retrieve a SAML token, which we then pass to a custom MicroStrategy task to validate. Once validated, this task returns the MicroStrategy credentials back to the application, which will take over with out-of-the-box functionality.
Once a custom MicroStrategy Mobile project has been set up in XCode, you will need to make a custom Application Delegate as described in the MicroStrategy Developer Zone. The below shows what the header and implementation files will look like for this.