Skip to content
This repository was archived by the owner on Apr 23, 2019. It is now read-only.
This repository was archived by the owner on Apr 23, 2019. It is now read-only.

AccessToken is getting removed after app refresh #48

Closed
@knappdev

Description

@knappdev

I have configured my feathers app to store token AsyncStorage. But seems like access token is getting removed when the app is reloaded.

export const restApp = feathers()
  .configure(rest(host).superagent(superagent))
  .configure(hooks())
  .configure(authentication({
    storage: AsyncStorage,
  }))

Package details:

    "feathers": "^2.1.1",
    "feathers-authentication-client": "^0.3.2",
    "feathers-errors": "^2.7.1",
    "feathers-hooks": "^2.0.1",
    "feathers-rest": "^1.7.2",
    "feathers-socketio": "^1.6.0",

    "react": "^16.0.0-alpha.6",
    "react-native": "^0.44.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions