Closed Aarbel closed 3 years ago
If Auth0 requires https and you are using http, it's not a Capacitor bug. Capacitor "live reload" feature limits itself to allow you to configure the url to load, but it's you who is loading a http url (not provided by Capacitor). And as explained in your previous issue, the fact that you can't load https urls is also not a Capacitor issue, but a bad/misconfigured certificate.
How did you solve this @Aarbel?
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
Android
Current Behavior
auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.
Expected Behavior
Opening my url
http://192.168.1.11:3000
Code Reproduction
npx cap copy android && npx cap run android
Other Technical Details
Android Studio Arctic Fox | 2020.3.1 Patch 3 Build #AI-203.7717.56.2031.7784292, built on October 1, 2021 Runtime version: 11.0.10+0-b96-7281165 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.3 GC: G1 Young Generation, G1 Old Generation Memory: 1280M Cores: 8 Registry: external.system.auto.import.disabled=true
Additional doc
Cf