8000
  • fix(authentication-client): Reset authentication promise on socket disconnect by daffl · Pull Request #1696 · feathersjs/feathers · GitHub
    [go: up one dir, main page]

    Skip to content

    fix(authentication-client): Reset authentication promise on socket disconnect#1696

    Merged
    daffl merged 1 commit intomasterfrom
    auth-reconnect
    Nov 21, 2019
    Merged

    fix(authentication-client): Reset authentication promise on socket disconnect#1696
    daffl merged 1 commit intomasterfrom
    auth-reconnect

    Conversation

    @daffl
    Copy link
    Member
    @daffl daffl commented Nov 20, 2019

    This PR updates the authentication client to defer authentication as soon as a socket disconnects instead of only on socket reconnect because calls made while disconnected will still get a NotAuthenticated errors.

    @marshallswain
    Copy link
    Member

    Not sure what Code Climate's deal is, but everything else look like :shipit:

    @KidkArolis
    Copy link
    Contributor

    Tested in my app and it works great, much simpler than what I was doing.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    3 participants

    0