When i convert reactjs web application to mobile app using capacitorjs I am getting error in android studio

Hi

I am getting error in android studio

I have followed the below link, steps for converting reactjs web application to mobile app

It will open android studio and open the app
But I am getting above error

Actually I am using Okta login to that Application. I have added

Login-redirect-URI: http://localhost:8080/login/callback
Logout-redirect-URI: http://localhost:8080

Trusted_origin-URL: http://localhost:8080 and http://localhost

I am getting above error in android studio

I did not understood either “Okta” error (or) “AndroidStudio” error.

Blockquote

If anyone knows please let me know the error

I believe you have to add capacitor://localhost as a trusted origin for this to work.

Hi @mraible

I have added capacitor://localhost as trusted origin and tried. but it is not getting