User login and redirect - Laravel

Hello. First time posting here.
I have a Laravel app that allows me to login with AppGyver; I am able to login, show errors, etc. Basically I do a post http request and as response I get an authToken.
Then I set the an appVariableToken to store the authtoken provided by the API.

The question is…
In a real phone…lets say the user login, then closes the app…then open the app again. Will appgyver still have the appVariableToken in memory?..or will the customer need to login again?

Do i also need to store teh appVariableToken in the storage locally?


Yes app variables are lost when the app is closed. But you can use Set item to storage and Get item from storage flow functions to remember the auth token between app uses.

1 Like