Coder Social home page Coder Social logo

Comments (5)

juniorschen avatar juniorschen commented on June 10, 2024

Same issue @alexziskind1

from nativescript-oauth2.

meeshkabob avatar meeshkabob commented on June 10, 2024

I'm seeing a similar behavior in logoutWithCompletion.

If the refresh token saved to the nativescript-oauth2 client object is past its expiration date at the time that logoutWithCompletion is called, then the completion function passed to it is never called.

"nativescript-oauth2": "^3.0.3",
"@nativescript/angular": "10.1.7",
"@nativescript/core": "7.1.3",
"@nativescript/localize": "^5.0.4",
"@nativescript/android": "7.0.1",
"@nativescript/ios": "7.2.0",
"@nativescript/types": "^7.2.0",
"typescript": "~3.9.0"

from nativescript-oauth2.

eduardocalixtokorp avatar eduardocalixtokorp commented on June 10, 2024

This problem happens when resumeWithUrl returns false
image

from nativescript-oauth2.

facetious avatar facetious commented on June 10, 2024

@eduardocalixtokorp Does this still occur in 3.0.5?

from nativescript-oauth2.

eduardocalixtokorp avatar eduardocalixtokorp commented on June 10, 2024

I'll test it later, but it probably should work because a override this method locally for a similar solution of 3.0.5 version.
I'm closing this issue for now. Thank you @facetious

from nativescript-oauth2.

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.