I’ll introduce reference articles for using OAuth 2.0 in CLI and batch processing.
Background: Want to Use OAuth 2.0 in CLI and Batch Processing
I want to use OAuth 2.0 in CLI and batch processing, so I researched information that would be helpful for implementation.
Understanding OAuth 2.0 in the First Place
Using OAuth 2.0 from CLI
OAuth Anti-patterns
When using OAuth 2.0 in CLI or batch processing, you might want to set long expiration times for tokens, but this is an anti-pattern, so please avoid it.
That’s all from the Gemba about wanting to use OAuth 2.0 in CLI and batch processing.