Skip to content

Commit

Permalink
Adjust scopes for token refresh - fixes #26
Browse files Browse the repository at this point in the history
  • Loading branch information
techman83 committed Sep 16, 2020
1 parent 3acda9c commit c993cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebService/Strava/Auth.pm
Expand Up @@ -51,7 +51,7 @@ around BUILDARGS => sub {
has 'api_base' => (is => 'ro', default => sub { 'https://www.strava.com/api/v3' });
has 'config_file' => ( is => 'ro', default => sub { "$ENV{HOME}/.stravarc" } );
has 'config' => ( is => 'rw', lazy => 1, builder => 1 );
has 'scope' => ( is => 'ro', default => sub { "view_private,write" } );
has 'scope' => ( is => 'ro', default => sub { "activity:read_all,activity:write,profile:write,profile:read_all" } );
has 'auth' => ( is => 'rw', lazy => 1, builder => 1, handles => [ qw( get post ) ] );

# TODO: Potentially allow the config to be passed through instead of loaded.
Expand Down

0 comments on commit c993cff

Please sign in to comment.