Question about online/offline tokens and authenticating users

ElevateMyStore
Tourist
3 1 0

I am building a my first app and I am trying to learn when I should use online/offline tokens. It sounds like most app developers are storing the offline tokens for persistence access which makes sense and it would be useful for things like install/uninstall webhooks. Let's say I store an offline token because my app only installs scripts via the script_tags api but the user decides to launch my app to look for help docs or something. Do I somehow authenticate the offline token or do I create a new online token for that specific user/session? 

0 Likes