Ionic4 is out, when Okta will update the guidance for this framework?

Hi there!
I found a description how to integrate Okta with Ionic from 2017: https://developer.okta.com/blog/2017/08/22/build-an-ionic-app-with-user-authentication . Which is now I think outdated. Ionic 4 is out and Auth0 has got already a full guide how to integrate with it: https://auth0.com/blog/ionic-4-beta-whats-new-and-building-a-sample-app/ , what about Okta? You got a superb Okta Mobility Management, but what about hybrid apps and Ionic? Ionic also released their product called Identity Vault: https://ionicframework.com/enterprise/identity-vault and I think most of people want to use one service to rule them all…Which could be Okta…

1 Like

Good question! I plan to start writing an example app next week that shows how to use Ionic 4 with Okta. Then I’ll write up a blog post and do a screencast. Those should be published sometime in February.

You can find a demo app of Ionic 4 and Okta at https://github.com/mraible/ionic-4-oidc-demo. Please let me know if you have any questions!

2 Likes

Oh yeah. That’s the link I was looking for

Here’s an even better example that has a screencast showing how I built it.

HI.can this implement to exsisting ionic 4 sidemenu application?

Not yet, I have not taken the time to make OktaDev Schematics work with a sidemenu project.You can take a look at the Ionic AppAuth examples I used to see how everything is implemented.

1 Like

got an error in call back in android device .
main.5bc1ee6fc34540f2a30b.js:1 ERROR Error: Uncaught (in promise): Invalid action
at P (polyfills.263c27518d7e480017ca.js:1)
at polyfills.263c27518d7e480017ca.js:1
at Object.callbackFromNative (cordova.935a9f4e1f7afeca168d.js:1)
at processMessage (cordova.935a9f4e1f7afeca168d.js:1)
at processMessages (cordova.935a9f4e1f7afeca168d.js:1)
at e.invoke (polyfills.263c27518d7e480017ca.js:1)
at Object.onInvoke (main.5bc1ee6fc34540f2a30b.js:1)
at e.invoke (polyfills.263c27518d7e480017ca.js:1)
at t.run (polyfills.263c27518d7e480017ca.js:1)
at polyfills.263c27518d7e480017ca.js:1