Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

401,{"message":"The incoming token has expired"} (aws-amplify-react-native) #6060

Closed
nihp opened this issue Jun 11, 2020 · 3 comments
Closed

Comments

@nihp
Copy link

nihp commented Jun 11, 2020

I am getting 401,{"message":"The incoming token has expired"} issue while i am in the app.

export async function get (endpoint: string, data?) {
    const currentSession = await Auth.currentSession();
    const providerId = currentSession.getIdToken().payload.sub;
    const identityJwt = currentSession.getIdToken().getJwtToken();
    return GET(endpoint, data, identityJwt, providerId);
}
@nihp nihp changed the title 401,{"message":"The incoming token has expired"} 401,{"message":"The incoming token has expired"} (aws-amplify-react-native) Jun 11, 2020
@amhinson
Copy link
Contributor

Duplicate of #5934

@amhinson amhinson marked this as a duplicate of #5934 Jun 12, 2020
@nihp
Copy link
Author

nihp commented Jun 13, 2020

Any update for this issue in Duplicate of #5934

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants