<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008ZgucRSAROkta Classic EngineSingle Sign-OnAnswered2024-04-16T12:22:22.000Z2018-11-09T03:27:42.000Z2018-11-11T21:59:29.000Z

woang (woang) asked a question.

Auth for custom iOS ServiceNow app

Hi,

We have built a custom iOS (Swift) app for ServiceNow which uses a web view (WKWebView) to wrap the ServiceNow portal mobile web site. Currently ServiceNow uses basic auth, so the iOS app captures the user's credentials and stores them in the iOS key chain, then replays them to keep the user logged in. We also have the requirement that e-mail links to ServiceNow are launched via the iOS app.

Moving to Okta, we are trying to find a solution which ensures the user stays logged in. Some options we've considered:

 

1. Re-use the existing app - however users are prompted to log in again once the session timeout expires

2. Use Okta Mobile - however we can't launch ServiceNow links from e-mail into this app

3. Okta Device Trust - however we are not licensed for this, and haven't been able to confirm it would work in this scenario (https://help.okta.com/en/prod/Content/Topics/Mobile/Okta_Device_Trust_Native_Apps_Safari_MDM_Devices.htm)

4. Okta Mobile Connect - not enough detail is provided on how this would work (https://developer.okta.com/use_cases/mobile/okta_mobile_connect)

5. Building Okta authentication natively into our iOS app - we could maintain the user's session via a refresh token, however unsure how we would create the SAML assertion to seamlessly sign them in to ServiceNow

6. Use a Progressive Web App - investigation underway, however appears that this will also not keep the user logged in

 

My question, has anyone else done something like this or do you have any suggested solutions? In particular I feel that option (5) will be the best bet, however not sure how we would achieve it.

Thanks,

C.J. Ruggles

Reece Group


  • Hi C.J.,

     

    Historically speaking, our archive does not contain any similar integrations with Okta.

    At least, not from what I was able to research.

     

    Some kind of native Okta authentication might need to be built in your iOS app.

    For a hands-on approach regarding your situation I strongly suggest that you reach out to our Developer Team, and you might also want to engage with our Professional Team (for more information about them, please reach out to your Account Executive).

     

    I hope you will get this working.

    Have a great day!

     

    Kind regards,

    Bogdan Popescu

    Expand Post
  • woang (woang)

    Thanks for your response. I will also work with our local account managers. If anyone else can suggest a way to approach this problem, please let me know!

This question is closed.
Loading
Auth for custom iOS ServiceNow app