Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhall17 committed May 10, 2020
1 parent 1b8b7e7 commit 79e8b47
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ You also need to check the credential requirements for the oauth2 server and add

## Authorising & the AuthorisationProcessor

Their are routes pre defined to connect to the Oauth2 server and if all setup is done correctly we should be linking the account in no time.
Their are routes pre defined to connect to the Oauth2 server, the named routes are 'oauth2.authorise' & 'oauth2.callback' and both need passing in the integration. So for xero:-

``` php
route('oauth2.authorise', ['integration' => 'xero']); // will return /oauth2/xero/authorise
```

If its a simple straight forward Server then and if all setup is done correctly we should be linking the account in no time.

However some API's will have custom processing requirements, for example Xero needs a tenant id.

Expand Down

0 comments on commit 79e8b47

Please sign in to comment.