I’m using SpecklePy for automations, and I usually authenticate with get_default_account()
, which seems like the easiest way to go. However, in this discussion, it was mentioned that using an authorization token client instead of local accounts might be preferable.
To me, using the default account feels simpler since it skips the step of generating a token for each task. But I’d love to understand the advantages of using tokens instead—especially for scenarios where accounts might be frequently removed or re-added, or for the cases where an automation wants to be shared along the rest of my team.
Are there specific benefits, such as better security, portability, or flexibility? Would appreciate any insights!