Anonymous Access from Client Apps
Since you can't use the app management token from client apps for security reasons, Whisk provides an alternative mechanism to support server-less apps. Client application can request short-lived token to access API and keep reference for user.
Sample Request and Response
curl "https://login.whisk.com/auth/anonymous/create" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"clientId": "<YOUR-APP-ID>"
}'
The anonymous user is deleted automatically after 30 days of inactivity, but if a user makes a request during this period, the validity increases for another 30 days.
Last updated
Was this helpful?