I’m developing a mobile app where I need to log my users and I have two questions.
- In my VTEX Store the only way to log in is with OTP. Is there a way to trigger the flow of OTP validation and validate the code in my app (Using endpoints to validate with VTEX indeed) and get the token and store it in my app? I found that it’s possible but there are some undocumented endpoints and I’m not sure it’s the right approach.
Because going through OAUTH2 form VTEX may create a weird experience for my users on the app. - Is there a way to increase the expiration time of the tokens for the users? I would like to have the user logged in the app for at least a week, but the tokens expires in 24h.