Skip to content

Refresh token integration with React native repack super app #13553

@akshay-capgemini

Description

@akshay-capgemini

Is this related to a new or existing framework?

No response

Is this related to a new or existing API?

No response

Is this related to another service?

No response

Describe the feature you'd like to request

I am integrating the refresh token in our current React Native application, which is built using Callstack's Re.Pack. In my application, I can generate a new access token and get sessions in one flow. I need to get the session and generate a new access token even if the app is closed and reopened, and also after the app is killed and reopened.

Are there any methods or ways to get the session when the app is closed and reopened? (I don't want to use local storage or AsyncStorage to store the data from Cognito.)

Describe the solution you'd like

I need to get session details from aws even if I close the app and reopens.

Describe alternatives you've considered

Im trying to reduce the use of async storage and do all the features with the support of amazon-cognito-identity-js. Currently I don't have any solution to achieve my needs.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

Labels

AuthRelated to Auth components/categoryReact NativeReact Native related issuequestionGeneral question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions