Skip to content

47ng/strava-auth-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strava-auth-cli

License: MIT

Authenticate with the Strava API from the command line:

$ strava-auth-cli --id 123456 --secret 0123456789abcdef

Select the scopes to allow for your token in your browser: Strava authorization page

You get back a pair of tokens (Access and Refresh), straight from the terminal:

$ strava-auth-cli --id 123456 --secret 0123456789abcdef

Login {
    access_token: "2eb1da57d56f45c6a3db9c44c5594a59",
    refresh_token: "af4561aa7f754bd788223ec49f3c9f26"
}
Scopes [
    "read",
    "activity:write",
    "activity:read_all",
    "profile:write",
    "profile:read_all",
    "read_all"
]

It's very useful when you're at the prototyping phase of an API client.


The building of this project has been the subject of a blog article on my website.

Releases

No releases published

Packages

No packages published

Languages