Skip to main content

authToken Refresh

This component is used to automatically refresh the user authToken.

Please note that Xano Client needs to be set up in your app before you can properly use this component.

Inputs

DataDescription
TTLSets the duration before refreshing the authToken. It is commonly set to half of the token duration.
Endpoint PathSets the API endpoint path (used with the API Group Base URL) to refresh the user authToken.
SignalsDescription
StartStarts the refresh sequence.
StopStops the refresh sequence.

Outputs

SignalsDescription
SuccessSends a signal when the request succeeded.
FailureSends a signal when an error occurred, and logs an error message in the console.