Coder Social home page Coder Social logo

Comments (5)

ollyjohn avatar ollyjohn commented on June 10, 2024

I and my colleagues have a similar issue where we are faced with a seemingly perpetual loading animation where an error is returned from the login attempt.

We are able to get the error back from the onRedirectUri method, but the safari view is never destroyed (note that I have tried to manually hide() it but this causes issues with auth0 when you try to log in again because it doesn't actually get rid of the session)

Any advice on this would be much appreciated as it's quite a significant issue for us at the moment.

from auth0-cordova.

mohpra avatar mohpra commented on June 10, 2024

I also had the same issue. I tried using ionic-deeplinks-plugin instead of cordova-plugin-customurlscheme.

In app.component.ts do the following:

this.deeplinks.route({
}).subscribe((match) => {
    Auth0Cordova.onRedirectUri(match.$link.url);
}, (nomatch) => {
    Auth0Cordova.onRedirectUri(nomatch.$link.url); 
});

It works fine after this.

However I am also using cordova-plugin-linkedin for native linked login. And their seems to be a problem when this plugin as well as ionic-deeplinks-plugin is used.

Any idea why this is happening?

from auth0-cordova.

ahmadao avatar ahmadao commented on June 10, 2024

Why no one is fixing this?

from auth0-cordova.

stale avatar stale commented on June 10, 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.

victororlyk avatar victororlyk commented on June 10, 2024

the same issue with react ionic

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.