Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to invalidate an active customeraccesstoken already created?

How to invalidate an active customeraccesstoken already created?

eCommExplorer
Tourist
7 0 2

Hi Experts,

  I using createcustomerAccessToken  graphQL mutation to create an customer access token to login to my app. The mutation takes login credentials as input. Access token expiry is about 4 weeks. If the credential is changed at another webfront that uses same credential, I would like to get all the accesstoken associated with customer account to be invalidated, so the other mobile front can be logged out to use the new credential.

How do I achieve this.? 

Thanks,

Mini

Replies 0 (0)