I am trying to build a 'login and password' capability to allow access to authorised users to an app - so that data, stored in the cloud can be downloaded into the app.
I have considered writing a 'logon' application but would require hashing techniques and an online secure database - I have chosen instead to use Auth0 - an online identity management as a service.
The attached app - opens the universal login interface from Auth0 in a web view - and I have successfully logged in (according to Auth0) - I haven managed to get the redirect uri to work however. I am stumbling in two parts:
1) The application doesn't appear to run on the phone in Creoplayer (more than once) - I am not sure if this is related to 'web history, cookies, or locally held tokens? or something else. - the app does run in the simulator on Creo on the Mac (at least once!).
2) Once authorised I can't work out how to handle the redirect uri that Auth0 issues - and open the meat of the app (loading window)
I have tried to implement the handling of opening the main page in the app using an incoming URL - (openurl) - but either I have got this wrong or because the redirect is coming from inside the app - the openurl isn't applicable...
My aim is to have user authentication incorporated into an iPhone app -
I have attached my app - below!
Any thoughts gratefully received