Giter Club home page Giter Club logo

Comments (14)

brassier avatar brassier commented on June 14, 2024 1

@lbalmaceda - Good find on Link Guard being removed. I'll close this since it's specific to that feature.

from auth0-cordova.

stetsmando avatar stetsmando commented on June 14, 2024

@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.

brassier avatar brassier commented on June 14, 2024

Thanks @stetsmando . Unfortunately I do already have AndroidLaunchMode set to singleTask in the config.xml.

from auth0-cordova.

darkyen avatar darkyen commented on June 14, 2024

@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.

brassier avatar brassier commented on June 14, 2024

@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.

darkyen avatar darkyen commented on June 14, 2024

@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.

brassier avatar brassier commented on June 14, 2024

That's great news @darkyen - thanks! Looking forward to the new version.

from auth0-cordova.

camhart avatar camhart commented on June 14, 2024

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.

stale avatar stale commented on June 14, 2024

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.

brassier avatar brassier commented on June 14, 2024

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.

stale avatar stale commented on June 14, 2024

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.

brassier avatar brassier commented on June 14, 2024

Re: Stale Label - Once again, I don't believe this has been resolved.

from auth0-cordova.

Widcket avatar Widcket commented on June 14, 2024

@lbalmaceda can you please try to repro this (if possible)?

from auth0-cordova.

lbalmaceda avatar lbalmaceda commented on June 14, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.