Validity of Android Management APIs WebTokens

Sarahshk
Level 1.5: Cupcake

What is the expiry for the webtoken returned from the createWebToken method:  https://developers.google.com/android/work/play/emm-api/v1/enterprises/createWebToken ?

 

2 REPLIES 2

jasonbayton
Level 4.0: Ice Cream Sandwich

Offhand I think a few hours. The approach I see taken normally is to generate these on demand as customers click around your solution

emptydroid
Level 1.6: Donut

Based on general practices and previous implementations, the web token created by the createWebToken method typically has a short expiry time, often ranging from a few minutes to an hour. This is to ensure security and reduce the risk of token misuse.