diff --git a/app/Services/Parcel2Go.php b/app/Services/Parcel2Go.php index a770cd2..ea49769 100644 --- a/app/Services/Parcel2Go.php +++ b/app/Services/Parcel2Go.php @@ -60,7 +60,7 @@ class Parcel2Go 'client_id' => $settings['profile_client_id'], 'redirect_uri' => route('parcel2go.callback'), 'response_type' => 'code', - 'scope' => 'public-api my-profile offline_access', + 'scope' => 'public-api my-profile', 'state' => $state, 'code_challenge' => rtrim(strtr(base64_encode(hash('sha256', $verifier, true)), '+/', '-_'), '='), 'code_challenge_method' => 'S256', diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index 318b1bb..9e9854c 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -71,7 +71,7 @@
Parcel2Go account consent
$integrations['parcel2go']['profile_connected'], 'bg-amber-500/10 text-amber-200' => ! $integrations['parcel2go']['profile_connected']])>{{ $integrations['parcel2go']['profile_connected'] ? 'Connected' : 'Not connected' }}Create an Authorization Code client in Parcel2Go. Set Application URL to {{ url('/') }} and Redirect URI to this exact address:
{{ $integrations['parcel2go']['callback_url'] }}
- Save its Client ID above, then sign in and approve my-profile access. The account tokens are encrypted in the database. If consent rejects this scope, contact apihelp@parcel2go.com.
Save its Client ID above, then sign in and approve my-profile access. The account tokens are encrypted in the database. If Parcel2Go does not issue a refresh token, reconnect when access expires. If consent rejects this scope, contact apihelp@parcel2go.com.