Comments (14)
@lbalmaceda - Good find on Link Guard being removed. I'll close this since it's specific to that feature.
from auth0-cordova.
@brassier I had a similar issue. It actually had to do with how Android was managing intents. Have you tried adding <preference name="AndroidLaunchMode" value="singleTask" />
to your config.xml
?
from auth0-cordova.
Thanks @stetsmando . Unfortunately I do already have AndroidLaunchMode set to singleTask in the config.xml
.
from auth0-cordova.
@brassier That seems very weird, can you set a breakpoint and check if Norton is triggering a callback at the custom uri scheme for some reason?
from auth0-cordova.
@darkyen -
Per the instructions I am calling authorize()
off the Auth0Cordova library (similar to below). I set a breakpoint on this callback. This callback is getting hit prior to the login page visually loading, with the user canceled
error. After the successful login this callback does not get called a second time (where it would normally get called with an auth result). Seems like Norton may be loading the page, checking security, closing the page, then reloading the page?
auth0.authorize(options, function (err, result) {
if (err) {
// failure
if (err.message.includes("user canceled")) {
this.loggingService.info("User cancelled login.");
}
}
// success - never gets here
});
from auth0-cordova.
@brassier On another instance with similar issue, I figured the issue out, its androids event handling vs iOS event handling with cordova in the mix. I am currently re-writing the lib, to better handle these scenarios and offload more of this to nativeland. Apologies for the delay in this.
Seems like Norton may be loading the page, checking security, closing the page, then reloading the page?
Norton shouldn't interfere with Auth0 / CCT flow here though.
from auth0-cordova.
That's great news @darkyen - thanks! Looking forward to the new version.
from auth0-cordova.
Just FYI--I do not use Cordova Auth0--just android Auth0. I'm still experiencing what I believe is the same problem. Not sure if this is helpful or not, but leaving it in case someone else is searching and stumbles upon this.
from auth0-cordova.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️
from auth0-cordova.
Re: Stale Label - I don't believe this has been resolved. I know we occasionally have to tell users to disable these Link Guard features.
from auth0-cordova.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️
from auth0-cordova.
Re: Stale Label - Once again, I don't believe this has been resolved.
from auth0-cordova.
@lbalmaceda can you please try to repro this (if possible)?
from auth0-cordova.
@brassier if any app is interfering with the redirect there's nothing this can do as an SDK to prevent that. On a separate note, I found that this feature has been removed from Norton already.
from auth0-cordova.
Related Issues (20)
- Handling errors in redirect uri HOT 1
- Capacitor support HOT 13
- onRedirectUri faulty behavior after first login HOT 8
- Module not found: Error: Can't resolve 'crypto' in 'C://mypc/path/node_module/@auth0\cordova\src' HOT 1
- Angular support HOT 4
- Login screen hangs after entering credentials HOT 9
- Refresh tokens HOT 6
- iOS social provider signout problem HOT 3
- Custom Webpack is not used when using livereload on cordova run HOT 6
- Sign in with Apple - error on callback HOT 22
- Universal and Deep link support for iOS and Android HOT 3
- Use ASWebAuthenticationSessionManager with cordova HOT 4
- New Version Release HOT 1
- Cannot read properties of undefined (reading 'open') HOT 1
- net: ERR_UNKNOWN_URL_SCHEME with targetSdkVersion 30 HOT 11
- loading icon keeps spinning after social sign in using ionic V3 app on Android
- Could not load module crypto HOT 3
- New Release? HOT 1
- Login with Google is not asking the account to use HOT 2
- SafariViewController Closes before user can save or update password HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth0-cordova.