I am using the Okta Sign-In Widget for authentication into our Angular web application and it works great. We also package our application as a mobile app using CapacitorJS which wraps it inside of a webview to run as a native mobile app. Problem is that the widget does not function inside of the webview because of the browser redirects needed to function.
Does anyone have experience with using the widget in this fashion or perhaps suggestions for possible options with this scenario?
Thanks for the reply erik. I actually got it working in the hybrid mobile app and it turned out to be internal application issues rather than something the widget was doing. I did run into one problem with logout where the app was using OktaAuth.signOut() and I could not get that redirect to work without the mobile app trying to open the link externally in the browser app. The solution for that was instead to do OktaAuth.closeSession() and handle app navigation routing internally within our app.