Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenmaguire committed May 12, 2019
1 parent 8461370 commit 3d68f35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -141,7 +141,9 @@ $firstName = $member->getFirstName();
$birthDate = $member->getAttribute('birthDate');
```

> *A note about obtaining the resource owner's email address* - The email has to be fetched by the provider in a separate request, it is not one of the profile fields. This request will fail if the access token provided was not issued with the `r_emailaddress` scope.
#### A note about obtaining the resource owner's email address

> The email has to be fetched by the provider in a separate request, it is not one of the profile fields. This request will fail if the access token provided was not issued with the `r_emailaddress` scope.
```php
$emailAddress = $provider->getResourceOwnerEmail($token);
Expand Down

0 comments on commit 3d68f35

Please sign in to comment.