Demo of Box API OAuth2.0 authentication in a Ruby CLI application.
OAuth 2.0 authentication with Box API.
Save the access token and refresh token in the ~/.config/boxme/token.json
file.
Show the current user's information.
I referred to the following article:
https://www.hansschnedlitz.com/writing/2021/02/26/cli-oauth-in-ruby
and the following repository: