Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting access token from Auth0 league/oauth2-client:2.8.0 is not possible anymore #28

Open
matweew opened this issue Dec 11, 2024 · 1 comment

Comments

@matweew
Copy link

matweew commented Dec 11, 2024

Auth0 returns the error "Client has not been granted scopes: openid, email"

In v2.8 scopes are now sent together with token request

public function getDefaultScopes()
    {
        return ['openid', 'email'];
    }

It was related thephpleague/oauth2-client#1029 and changed thephpleague/oauth2-client#1030

@barryvdh
Copy link

Can you try if thephpleague/oauth2-client#1053 fixes your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants