Skip to main content

I am developing an APP based on magento 2 ecommerce.

As any APP, the the user should never logged out.

I can get with magento 2 a token for any customer by that token have an expery time.

I know that iI can modify that expire time but what iI need is some method to refresh the token with the same token itself or get another new token.

Also i dontI don't want to store customer data on client side because isits risky.

I am developing an APP based on magento 2 ecommerce.

As any APP, the user should never logged out.

I can get with magento 2 a token for any customer by that token have an expery time.

I know that i can modify that expire time but what i need is some method to refresh the token with the same token itself or get another new token.

Also i dont want to store customer data on client side because is risky.

I am developing an APP based on magento 2 ecommerce.

As any APP, the user should never logged out.

I can get with magento 2 a token for any customer by that token have an expery time.

I know that I can modify that expire time but what I need is some method to refresh the token with the same token itself or get another new token.

Also I don't want to store customer data on client side because its risky.

Source Link

Magento 2 Customer API Token refresh

I am developing an APP based on magento 2 ecommerce.

As any APP, the user should never logged out.

I can get with magento 2 a token for any customer by that token have an expery time.

I know that i can modify that expire time but what i need is some method to refresh the token with the same token itself or get another new token.

Also i dont want to store customer data on client side because is risky.