XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
93 stars 66 forks source link

Expand the JWT decoding to include the access token #123

Closed wobinb closed 4 years ago

wobinb commented 4 years ago

A new field: authentication_event_id is now returned within the access token. When used in conjunction with the connections endpoint it allows you to see which tenants have been added.

This PR adds functionality so that the access token can be decoded.

StuBez commented 4 years ago

I've just run into this issue when trying to follow the auth flow instructions. It would be great to get this PR merged.