OAuth 2.0 Playground - Alert API not working

33 views Asked by At

I'm trying to access the alerts api through the oAuth2.0 login flow from my React application.

The alert API scope

https://www.googleapis.com/auth/apps.alerts

returns

Error 400: invalid_scope

when trying to login through my local application, as well as through the oAuth playground.

Is there any different way I can authenticate to use the alerts api scope?

I've verified that my local application does work when using other scopes.

1

There are 1 answers

0
Linda Lawton - DaImTo On

That api requires that you use a service account that is the only valid authorization form for this api.

The Oauth playground uses Oauth2 to authorize so its not going to work with that api.