You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,9 @@ Create new file `xero_config.php` in `config` directory:
40
40
```php
41
41
<?php
42
42
43
+
/**
44
+
* Do not forget to replace "https://example.com" with your website URL
45
+
*/
43
46
return [
44
47
'XeroOauth2' => [
45
48
'clientId' => 'your-client-id',
@@ -52,8 +55,9 @@ return [
52
55
'offline_access',
53
56
'accounting.settings',
54
57
'accounting.contacts',
55
-
// Any other scopes goes here
58
+
// Any other scopes needed for your application goes here
56
59
],
60
+
// Must end with `/success` so do not remove it while replacing it with your website URL
57
61
'successUrl' => 'http://example.com/success'
58
62
]
59
63
];
@@ -63,7 +67,7 @@ After creating the configuration file, make sure to load the file in your `boots
63
67
64
68
**Important:**
65
69
66
-
When you create your Xero API App you must have to specify 'OAuth 2.0 redirect URI' to https://your-website.com/xero-oauth2/callback (replace your "https://your-website.com" with your website URL).
70
+
When you create your Xero API App you must have to specify 'OAuth 2.0 redirect URI' to https://your-website.com/xero-oauth2/callback (replace "https://your-website.com" with your website URL).
0 commit comments