You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app is redirecting to an external auth service. From there the user is redirected 302 back to https://localhost, where the browser blocks the request saying ERR_CONNECTION_REFUSED:
We've got the same issue (with Capacitor 5/6). #5818 is about the same issue but was closed because set as duplicate of #4240 (by mistake to me, because is does not fix the issue at all as said by this comment #4240 (comment)).
Redirecting from an external URL to localhost on Android doesn't work. PR here about the same issue was not considered either: #5872
Might be related to this one (with Capacitor 6 example) as well: #7454
Capacitor Version
Latest Dependencies:
@capacitor/cli: 5.7.4
@capacitor/core: 5.7.4
@capacitor/android: 5.7.4
@capacitor/ios: 5.7.4
Installed Dependencies:
@capacitor/cli: 5.7.3
@capacitor/core: 5.7.3
@capacitor/android: 5.7.3
@capacitor/ios: 5.7.3
[success] Android looking great! 👌
Other API Details
Platforms Affected
Current Behavior
The app is redirecting to an external auth service. From there the user is redirected 302 back to https://localhost, where the browser blocks the request saying ERR_CONNECTION_REFUSED:
HTTPS is encouraged: "we would strongly recommend that you change your androidScheme to use https."
capacitor.config.ts looks like this:
Expected Behavior
Redirect to https://localhost is successful.
Project Reproduction
https://github.com/atremel/redir
Additional Information
Real device has this issue, too.
The text was updated successfully, but these errors were encountered: