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
All the default ('openid', 'email', 'profile') scopes, plus the one I already added while calling getAuthorizationUrl(). So to me, 2.8.0 is a breaking change that should have been mentioned.
The text was updated successfully, but these errors were encountered:
Last week's release introduced the following in the
getAccessToken()
function:https://github.com/thephpleague/oauth2-client/pull/1030/files#diff-e8490e4bb8acb102745699d2bd7aa0a298d836c92d00d2ed57dd4c7ad8b24282
This broke my existing integration because previously added scopes were lost and I got an API error:
ACCESS_TOKEN_SCOPE_INSUFFICIENT
.To "fix" the issue, I had to add the scopes like this while refreshing the token:
All the default (
'openid', 'email', 'profile'
) scopes, plus the one I already added while callinggetAuthorizationUrl()
. So to me, 2.8.0 is a breaking change that should have been mentioned.The text was updated successfully, but these errors were encountered: