Skip to content

Commit e4ac616

Browse files
committed
Add comment to replace dummy url with website url in README.md file
1 parent e9a2864 commit e4ac616

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ Create new file `xero_config.php` in `config` directory:
4040
```php
4141
<?php
4242

43+
/**
44+
* Do not forget to replace "https://example.com" with your website URL
45+
*/
4346
return [
4447
'XeroOauth2' => [
4548
'clientId' => 'your-client-id',
@@ -52,8 +55,9 @@ return [
5255
'offline_access',
5356
'accounting.settings',
5457
'accounting.contacts',
55-
// Any other scopes goes here
58+
// Any other scopes needed for your application goes here
5659
],
60+
// Must end with `/success` so do not remove it while replacing it with your website URL
5761
'successUrl' => 'http://example.com/success'
5862
]
5963
];
@@ -63,7 +67,7 @@ After creating the configuration file, make sure to load the file in your `boots
6367

6468
**Important:**
6569

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).
6771

6872
## Usage
6973

0 commit comments

Comments
 (0)