Invalid_grant after authentication in Angular

I’m having an issue where calling getAccessTokenSilently() is returning an invalid_grant error. This is happening after isAuthenticated is returning true. I am using google sign-in, and is only happening for some users.

I’ve dug around in my Auth0 application, API, Users, Rules, etc, and can’t find anything making some users different than others. What things would account for this, or how can I debug the invalid_grant issue?

Thanks,
Mayhew

Hi @mayhew,

Welcome to the Auth0 Community.

The problem might be a grant that hasn’t been given to the application.

Go in the settings of your application and scroll down until you find Advanced Settings and check this grant

If you have any other question feel free to ask.

Have a good one,
Vlad

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.