Sneha N
Sneha N

Reputation: 11

OAuth 2.0 Playground - Alert API not working

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.

Upvotes: 1

Views: 66

Answers (1)

Linda Lawton - DaImTo
Linda Lawton - DaImTo

Reputation: 116868

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.

Upvotes: 0

Related Questions