fusion icon indicating copy to clipboard operation
fusion copied to clipboard

Regenerate Auth Token when requests fail because of expired token

Open oreHGA opened this issue 1 year ago • 3 comments
trafficstars

When the server reject's a request because it is invalid, we need to regenerate.

To do this:

  • [ ] Update the token validation api to return a code when auth token is expired/invalid
  • [ ] On the mobile client, when requests fail because of auth we need to go through the flow to generate
    • [ ] ideally we want to make sure we're using a single wrapper for api requests so the code isn't nasty

oreHGA avatar Jan 15 '24 04:01 oreHGA

Interested! Let's sync on this

peoray avatar Jan 31 '24 03:01 peoray

@oreHGA could I get assigned to this. Thanks

JohananOppongAmoateng avatar Nov 07 '24 14:11 JohananOppongAmoateng

Great to hear! Couple things to look through:

Update we authflow to use this

oreHGA avatar Nov 12 '24 14:11 oreHGA