Electron app with Okta


I need to secure my Electron using TypeScript & Angular7 app. I can’t find any recent examples that don’t use the google flow file (seems incompatible with TS). Since it’s a desktop app do I need to furnish my own login screen or can I somehow embed the default Okta login?

Any guidance would be appreciated. It looks like angular-oauth2-oidc with @okta/okta-auth-js might be the right path - but would love to hear some updated opinions.


[Edit: I did finally find a TS example from 2 years ago - brings up a webpage to login and then tells the user to close the page to continue. Definitely not optimal, but it’s a start]

We published a tutorial in March that might help: https://developer.okta.com/blog/2019/03/20/build-desktop-app-with-angular-electron

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.