redux-token-auth icon indicating copy to clipboard operation
redux-token-auth copied to clipboard

setting storage to sessionStorage not working

Open swapnil2993 opened this issue 7 years ago • 1 comments

I want to set the values in sessionStorage instead of localStorage. Current configuration:

{
  authUrl: 'http:localhost:3000/user_auth',
  storage: sessionStorage,
  userAttributes: {
    firstName: 'first_name',
    lastName: 'last_name',
    contactNumber: 'contact_number',
    profilePhotoUrl: 'profile_photo_url',
    gender: 'gender',
    role: 'role',
    type: 'type',
    uid: 'uid',
    id: 'id',
    email: 'email',
  },
  userRegistrationAttributes: {
    firstName: 'first_name',
    lastName: 'last_name',
  },
}

How should I configure it?

swapnil2993 avatar Mar 06 '18 17:03 swapnil2993

May be related to #37

wa0x6e avatar Apr 13 '18 17:04 wa0x6e