Skip to content

Commit c559cbf

Browse files
authored
hot fix for rooms error (#97)
happening because we're missing the signature scope to identify the cfr pt 11 accounts
1 parent 97e7780 commit c559cbf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Controllers/Auth/DocuSign.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ public function getResourceOwnerDetailsUrl(AccessToken $token): string
9797
* Get the default scopes used by this provider.
9898
*
9999
* This should not be a complete list of all scopes, but the minimum
100-
* required for the provider user interface!
100+
* required for the provider user interface! Note that the signature scope
101+
* is necessary to check against cfrPt11 compatibility and may not be
102+
* required if your making non eSignature API calls
101103
*
102104
* @return array
103105
*/
@@ -106,7 +108,7 @@ public function getDefaultScopes(): array
106108
{
107109
if($_SESSION['api_type'] == 'Rooms'){
108110
return [
109-
"room_forms dtr.rooms.read dtr.rooms.write dtr.documents.read dtr.documents.write "
111+
"signature room_forms dtr.rooms.read dtr.rooms.write dtr.documents.read dtr.documents.write "
110112
. "dtr.profile.read dtr.profile.write dtr.company.read dtr.company.write"
111113
];
112114
} elseif($_SESSION['api_type'] == 'Click'){

0 commit comments

Comments
 (0)